Wire.RemoveVertex
Description:
Removes the vertex corresponding to the specified index. Can not remove the start or end vertex if it already connects to other element.
Removes the vertex corresponding to the specified index. Can not remove the start or end vertex if it already connects to other element.
public void RemoveVertex(
int index
)
-
Int32indexThe index which should be in [0, NumberOfVertices).
-
The index should be between 0 and the number of vertices of the wire.
-
None of the following disciplines is enabled: Mechanical Electrical Piping.
-
The wire has only 2 vertices, so one cannot be removed. -or- Can't remove the vertex when the vertex is start or end point and the wire connects to one element.