PathOfTravel.FindEndsOfShortestPaths
Description:
For a floor plan view, calculates the paths from each start point to its closest destination and return the path end points.
For a floor plan view, calculates the paths from each start point to its closest destination and return the path end points.
Remarks:
The calculation is done in a floor plan with one or more destinationPoints and one or more startPoints. The shortest path is calculated from each start point to its corresponding closest destination.
The calculation is done in a floor plan with one or more destinationPoints and one or more startPoints. The shortest path is calculated from each start point to its corresponding closest destination.
-
DBViewThe floor plan view to use when computing the points.
-
IList<XYZ>destinationPointsDestination points. The input Z coordinates are ignored and set to the view's level elevation.
-
IList<XYZ>startPointsStart points for which shortest path end points are calculated.
Return Value
nullNothingnullptr
End points of paths calculated from each start point to its corresponding closest destination.
If a path cannot be calculated the corresponsing end point is set to null Nothing nullptr a null reference ( Nothing in Visual Basic) .
-
View is not a floor plan view.
-
A non-optional argument was NULL
-
The Path of Travel calculation service is not available -or- This functionality is not available in Revit LT.