Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic 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
Wire
See Also