NXOpen.UF.Route.GetNextConnections

Route.GetNextConnections()

Refer to UF_ROUTE_get_next_connections for documentation.

Signature: GetNextConnections(currConn, currObj)

Parameters:
  • currConn (Tag) – object to traverse (rcp or port occurrence)
  • currObj (Tag) – part occurrence, or segment to exclude in traversal * (may be NULL_TAG). This is the object traversed in * order to get to the current traversal object.
Returns:

A Tuple

Return type:

A tuple consisting of (numConns,nextConns,nextObjs)

numConns(int): number of connected objects

nextConns(list of Tag): array of connected objects.* Will NOT contain any NULL_TAGs. Use UF_free() to free.

nextObjs(list of Tag): array of segments or part occurrences. Can have NULL_TAGs. * These are the objects to traverse in order to get to the * next set of connections. Use UF_free() to free.

License requirements: UG/ROUTING or routing_advanced