| Revit 2022.1 API |
| Settings..::..ElectricalSetting Property |
| Settings Class See Also |
Retrieves an object that provides access to all the electrical settings include voltage type, distribution system type,
demand factor, wire type in the Autodesk Revit application and project.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Syntax
| C# |
|---|
public ElectricalSetting ElectricalSetting { get; } |
| Visual Basic |
|---|
Public ReadOnly Property ElectricalSetting As ElectricalSetting Get |
| Visual C++ |
|---|
public: property ElectricalSetting^ ElectricalSetting { ElectricalSetting^ get (); } |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Electrical settings can be accessed only if Revit MEP product is available. |