Share

CableTrayConduitBase.IsValidLevelId Method

Identifies if a level id is valid.


Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public static bool IsValidLevelId(
	Document document,
	ElementId levelId
)

Parameters

document  Document
The document.
levelId  ElementId
The level id.

Return Value

Boolean
True if the level id is valid, false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?