Removes the vertex corresponding to the specified index.
Can not remove the start or end vertex if it already connects to other element.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2015
Syntax
| C# |
|---|
public void RemoveVertex(
int index
) |
| Visual Basic |
|---|
Public Sub RemoveVertex ( _
index As Integer _
) |
| Visual C++ |
|---|
public:
void RemoveVertex(
int index
) |
Parameters
- index
- Type: System..::..Int32
The index which should be in [0, NumberOfVertices).
Exceptions
See Also