CableTrayConduitBaseIsValidLevelId Method

Identifies if a level id is valid.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
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