NXOpen.UF.Route.CreateRcpByWorkPos

Route.CreateRcpByWorkPos()

Refer to UF_ROUTE_create_rcp_by_work_pos for documentation.

Signature: CreateRcpByWorkPos(workPos, checkExistingRcp)

Parameters:
  • workPos (list of float) – Position in absolute work part coords
  • checkExistingRcp (bool) – TRUE = use existing RCP at specified position FALSE = always create a new RCP
Returns:

A Tuple

Return type:

A tuple consisting of (newRcp,foundExistingRcp)

newRcp(Tag): Tag of created RCP

foundExistingRcp(bool): TRUE = existing RCP found and used FALSE = new RCP was created

License requirements: UG/ROUTING or routing_advanced