NXOpen.UF.Route.AskPartOccPorts¶
-
Route.
AskPartOccPorts
()¶ Refer to UF_ROUTE_ask_part_occ_ports for documentation.
Signature:
AskPartOccPorts(partTag)
Parameters: partTag (Tag) – Object identifier of a part occurrence. Returns: A Tuple Return type: A tuple consisting of (numPorts,ports) numPorts(int): Number of port occurrences in the given part occurrence.
ports(list of Tag): Tags of port occurrences of the part occurrence else NULL_TAG. Allocated array must be freed with UF_free.
License requirements: None