Share

Network.FindShortestNetworkPath Method

Find a shortest path in the network.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public static ObjectIdCollection FindShortestNetworkPath(
	ObjectId startPartId,
	ObjectId endPartId,
	ref double minLength
)

VB

Public Shared Function FindShortestNetworkPath ( 
	startPartId As ObjectId,
	endPartId As ObjectId,
	ByRef minLength As Double
) As ObjectIdCollection

C++

public:
static ObjectIdCollection^ FindShortestNetworkPath(
	ObjectId startPartId, 
	ObjectId endPartId, 
	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

Reference

Was this information helpful?