Appends one vertex to the end of the wire.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void AppendVertex(
XYZ vertexPoint
)
Public Sub AppendVertex (
vertexPoint As XYZ
)
public:
void AppendVertex(
XYZ^ vertexPoint
)
member AppendVertex :
vertexPoint : XYZ -> unit
Parameters
- vertexPoint XYZ
-
The vertex to be appended.
ExceptionsException | 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.
|
See Also