Find a shortest path in the network.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public static ObjectIdCollection FindShortestNetworkPath( ObjectId startPartId, ObjectId endPartId, ref double minLength )
Visual Basic
Public Shared Function FindShortestNetworkPath ( _ startPartId As ObjectId, _ endPartId As ObjectId, _ ByRef minLength As Double _ ) As ObjectIdCollection
Visual C++
public: static ObjectIdCollection^ FindShortestNetworkPath( ObjectId startPartId, ObjectId endPartId, double% minLength )
Parameters
- startPartId
- Type: ObjectId
Starting part for the path.
- endPartId
- Type: ObjectId
Ending part for the path.
- minLength
- Type: System.Double%
Returns the length of the shortest path.