Revit 2026 API
Duct |
Get the duct settings of the project.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static DuctSettings GetDuctSettings( Document document )
Public Shared Function GetDuctSettings ( document As Document ) As DuctSettings
public: static DuctSettings^ GetDuctSettings( Document^ document )
static member GetDuctSettings : document : Document -> DuctSettings
Parameters
- document Document
- The document.
Return Value
DuctSettingsThe duct settings of the project.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also