Create a new electrical ConnectorElement.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ConnectorElement CreateElectricalConnector(
Document document,
ElectricalSystemType electricalSystemType,
Reference planarFace
)
Parameters
- document Document
-
The document to add the connector to.
- electricalSystemType ElectricalSystemType
-
The ElectricalSystemTYpe of the connector.
- planarFace Reference
-
The planar face to place the connector on.
Return Value
ConnectorElement
The electrical ConnectorElement.
Exceptions
Remarks
Regenerates the document.
See Also
Reference