Sets the position of a given vertex. If the vertex is start or end point, and the wire connects to electrical device, the wire end offset will be set according to the given vertex. If the vertex is start or end point, and the wire connects to other wire, user can't set the vertex and exception will be thrown. If the vertex is start or end point, and the wire connects to nothing, the vertex will be set as the given vertex.
Assembly: RevitAPI (in RevitAPI.dll) Version: 184.108.40.206 (220.127.116.11)
|Autodesk.Revit.Exceptions ArgumentException||The index should be between 0 and the number of vertices of the wire. -or- 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||Can't set the vertex when the vertex is start or end point and the wire connects to other wire.|