NXOpen.UF.Route.MergeRcps¶
-
Route.
MergeRcps
()¶ Refer to UF_ROUTE_merge_rcps for documentation.
Signature:
MergeRcps(numRcps, rcps, preferredRcp)
Parameters: - numRcps (int) – Length of the array of coincident RCPs to be merged.
- rcps (list of Tag) – Array of coincident RCP tags to be merged. Should be Prototype tags.
- preferredRcp (Tag) – If specified, all RCPs will be merged to this RCP. If a NULL_TAG, the routine will determine what gets retained according to its merge rules. No merge will occur if this object is not an RCP.
Returns: A Tuple
Return type: A tuple consisting of (numRemaining,remaining)
numRemaining(int): Number of RCPs remaining
remaining(list of Tag): RCPs remaining after merge operations, including those that couldn’t be merged Free using UF_free
License requirements: UG/ROUTING or routing_advanced