RemoveWaypoint Method


Path Of Travel Remove Waypoint Method

Remove a waypoint.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void RemoveWaypoint(
	int index
)

Parameters

index Int32
The index of the waypoint to remove.
Exceptions
Exception Condition
InvalidOperationException Index refers to a non-existent waypoint. -or- This functionality is not available in Revit LT. -or- Cannot perform this operation for a path of travel in a group.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →