Checks whether the Cable Size can be used by this Cable Type or not.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public bool IsCableSizeUsable( ElementId cableSizeId )
Parameters
- cableSizeId ElementId
- The Cable Size id.
Return Value
BooleanTrue if the Cable Size can be used by this Cable Type.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The id is not a Cable Size id. |
ArgumentNullException | A non-optional argument was null |