Identifies if a cable tray type is valid.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public static bool IsValidCableTrayType(
Document document,
ElementId cabletrayType
) |
| Visual Basic |
|---|
Public Shared Function IsValidCableTrayType ( _
document As Document, _
cabletrayType As ElementId _
) As Boolean |
| Visual C++ |
|---|
public:
static bool IsValidCableTrayType(
Document^ document,
ElementId^ cabletrayType
) |
Return Value
True if the cable tray type is valid, false otherwise.
Exceptions
See Also