Creates a new MEP Electrical System element from an unused Connector.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ElectricalSystem Create(
Connector connector,
ElectricalSystemType elecSysType
)
Parameters
- connector Connector
-
The Connector to create this Electrical System.
- elecSysType ElectricalSystemType
-
The System Type of electrical system.
Return Value
ElectricalSystem
If successful a new MEP Electrical System element within the project, otherwise
null.
Exceptions
See Also
Reference