Gets the position of an existing vertex.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2015
Syntax
C# |
---|
public XYZ GetVertex(
int index
) |
Visual Basic |
---|
Public Function GetVertex ( _
index As Integer _
) As XYZ |
Visual C++ |
---|
public:
XYZ^ GetVertex(
int index
) |
Return Value
The position of the vertex.
It is the offset point for the start and end vertex, not the connector point.
If the wire connects to one device, it may have offset; otherwise, the start and end vertex is same as the connector point.
Exceptions
See Also