NXOpen.UF.Route.AskSegmentsPaths

Route.AskSegmentsPaths()

Refer to UF_ROUTE_ask_segments_paths for documentation.

Signature: AskSegmentsPaths(numSegments, segments)

Parameters:
  • numSegments (int) – , the number of segs in this path
  • segments (list of Tag) – ,the array of segments
Returns:

A Tuple

Return type:

A tuple consisting of (numPaths,paths,sharePath)

numPaths(int): , the number of paths for these segs

paths(list of Tag): ,the array of paths, use UF_free to free up the array.

sharePath(bool): , true if all segs share at least one path

License requirements: None