Appends one vertex to the end of the wire.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2015
Syntax
C# |
---|
public void AppendVertex( XYZ vertexPoint ) |
Visual Basic |
---|
Public Sub AppendVertex ( _ vertexPoint As XYZ _ ) |
Visual C++ |
---|
public: void AppendVertex( XYZ^ vertexPoint ) |
Parameters
- vertexPoint
- Type: Autodesk.Revit.DB..::..XYZ
The vertex to be appended.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..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). |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..DisabledDisciplineException | None of the following disciplines is enabled: Mechanical Electrical Piping. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | The end point is already connected to an element, so a new endpoint vertex cannot be appended. |