Wire.GetVertex
Method
Description:
Gets the position of an existing vertex.
Gets the position of an existing vertex.
Parameters
Parameter | Type | Description |
---|---|---|
index | Int32 | The index of the existing vertex. Should be between 0 and <a href="a3396437-4d65-df7f-9400-97e5f69c0d0a.htm">NumberOfVertices</a>. |
Return Value
Type | Description |
---|---|
XYZ | 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
Exception | Condition |
---|---|
ArgumentException | The index should be between 0 and the number of vertices of the wire. |