NetworkFindShortestNetworkPath Method |
Find a shortest path in the network.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectIdCollection FindShortestNetworkPath(
ObjectId startPartId,
ObjectId endPartId,
ref double minLength
)
Public Shared Function FindShortestNetworkPath (
startPartId As ObjectId,
endPartId As ObjectId,
ByRef minLength As Double
) As ObjectIdCollection
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