NXOpen.UF.Route.FindPath

Route.FindPath()

Refer to UF_ROUTE_find_path for documentation.

Signature: FindPath(begin, end)

Parameters:
  • begin (Tag) – The tag of the segment at the beginning of the path
  • end (Tag) – The tag of the segment at the end of the path
Returns:

A Tuple

Return type:

A tuple consisting of (pathSize,pathData)

pathSize(int): The size of the path; the number of tags in path_data

pathData(list of Tag): The array of tags that represent the path. Use UF_free to deallocate memory when no longer needed

License requirements: UG/ROUTING or routing_advanced