Share

CableType.IsCableSizeUsable Method

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

Boolean
True if the Cable Size can be used by this Cable Type.

Exceptions

ExceptionCondition
ArgumentException The id is not a Cable Size id.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?