Revit 2025.3 API
WireCreate Method |
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static Wire Create( Document document, ElementId wireTypeId, ElementId viewId, WiringType wiringType, IList<XYZ> vertexPoints, Connector startConnectorTo, Connector endConnectorTo )
Public Shared Function Create ( document As Document, wireTypeId As ElementId, viewId As ElementId, wiringType As WiringType, vertexPoints As IList(Of XYZ), startConnectorTo As Connector, endConnectorTo As Connector ) As Wire
public: static Wire^ Create( Document^ document, ElementId^ wireTypeId, ElementId^ viewId, WiringType wiringType, IList<XYZ^>^ vertexPoints, Connector^ startConnectorTo, Connector^ endConnectorTo )
static member Create : document : Document * wireTypeId : ElementId * viewId : ElementId * wiringType : WiringType * vertexPoints : IList<XYZ> * startConnectorTo : Connector * endConnectorTo : Connector -> Wire
Parameters
- document Document
- wireTypeId ElementId
- viewId ElementId
- wiringType WiringType
- vertexPoints IListXYZ
- startConnectorTo Connector
- endConnectorTo Connector
Return Value
WireSee Also