NetworkFindShortestNetworkPath Method

Find a shortest path in the network.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectIdCollection FindShortestNetworkPath(
	ObjectId startPartId,
	ObjectId endPartId,
	ref double minLength
)

Parameters

startPartId  ObjectId
Starting part for the path.
endPartId  ObjectId
Ending part for the path.
minLength  Double
Returns the length of the shortest path.

Return Value

ObjectIdCollection
An ObjectIdCollection that contains the ObjectId for each parth in the shortest path.
See Also