Electrical Settings

Some of the settings available on the Manage tab under MEP Settings - Electrical Settings are also available through the Revit API.

Electrical Settings

The ElectricalSetting class provides access to different electrical settings, such as fitting angles, wire types, and voltage types. There is one ElectricalSetting object per document and it is accessible through the static method ElectricalSetting.GetElectricalSettings().

General Settings

The following general settings are available as properties of the ElectricalSetting class:

  • CircuitSequence - Accesses the circuit sequence numbering schema
  • CircuitNamePhaseA - Accesses the circuit naming by phase (Phase A Label).
  • CircuitNamePhaseB - Accesses the circuit naming by phase (Phase B Label).
  • CircuitNamePhaseC - Accesses the circuit naming by phase (Phase C Label).

Fitting Angles

Fitting angle settings for cable trays and conduits are available from the following methods of the ElectricalSetting class:

  • GetSpecificFittingAngles()
  • GetSpecificFittingAngleStatus()
  • SetSpecificFittingAngleStatus()

Fitting Angles

Other Electrical Settings

Properties of the ElectricalSetting class provide access to:

  • Distribution System Types
  • Voltage Types
  • Wire Conduit Types
  • Wire Material Types
  • Wire Types

Methods also are available to add or remove from the project distribution system types, voltate types, wire material types and wire types.