AppendVertex Method


Appends one vertex to the end of the wire.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
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.DBXYZ
The vertex to be appended.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException 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.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsDisabledDisciplineException None of the following disciplines is enabled: Mechanical Electrical Piping.
Autodesk.Revit.ExceptionsInvalidOperationException The end point is already connected to an element, so a new endpoint vertex cannot be appended.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →