Revit 2026 API
Cable |
Gets the cable tray settings 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 CableTraySettings GetCableTraySettings( Document document )
Public Shared Function GetCableTraySettings ( document As Document ) As CableTraySettings
public: static CableTraySettings^ GetCableTraySettings( Document^ document )
static member GetCableTraySettings : document : Document -> CableTraySettings
Parameters
- document Document
- The document.
Return Value
CableTraySettingsThe cable tray settings of the project.

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