RVTDocs.com

Application.IsElectricalEnabled

Property
Description:
Checks whether or not the electrical discipline is enabled, and enable or disable it.
Syntax
public bool IsElectricalEnabled { get; set; }
Exceptions
Exception Condition
InvalidOperationException When setting this property: The current product type is not ProductType.Revit and discipline controls are not enabled.