Revit 2026 API
Cable |
Gets the cable tray sizes of the project.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static CableTraySizes GetCableTraySizes( Document aDoc )
Public Shared Function GetCableTraySizes ( aDoc As Document ) As CableTraySizes
public: static CableTraySizes^ GetCableTraySizes( Document^ aDoc )
static member GetCableTraySizes : aDoc : Document -> CableTraySizes
Parameters
- aDoc Document
- The document.
Return Value
CableTraySizesThe cable tray sizes of the project.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also