Find a shortest path in the network.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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.

Return Value

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

See Also