Revit 2025.3 API
Electrical |
Get the electrical settings of the project.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ElectricalSetting GetElectricalSettings( Document document )
Public Shared Function GetElectricalSettings ( document As Document ) As ElectricalSetting
public: static ElectricalSetting^ GetElectricalSettings( Document^ document )
static member GetElectricalSettings : document : Document -> ElectricalSetting
Parameters
- document Document
- The document.
Return Value
ElectricalSettingThe electrical settings of the project.

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