RVTDocs.com

Wire.AppendVertex

Method
Description:
Appends one vertex to the end of the wire.
Syntax
public void AppendVertex(
	XYZ vertexPoint
)
Parameters
Parameter Type Description
vertexPoint XYZ The vertex to be appended.
Return Value
Exceptions
Exception Condition
ArgumentException The vertex point cannot be added to the wire because there is already a vertex at this position on the view plane (within tolerance).
ArgumentNullException A non-optional argument was null
InvalidOperationException The end point is already connected to an element, so a new endpoint vertex cannot be appended.