NXOpen.UF.Assem.AskOccsOfPart¶
-
Assem.
AskOccsOfPart
()¶ Refer to UF_ASSEM_ask_occs_of_part for documentation.
Signature:
AskOccsOfPart(parentPart, part)
Parameters: - parentPart (Tag) – Tag of parent part to query. If parent_part is NULL, uses the current displayed part.
- part (Tag) – Tag of part with occurrences
Returns: A Tuple
Return type: A tuple consisting of (part_occs,int)
part_occs(Tag): Array of part occurrence tags. The part_occs array must be freed with UF_free when it is no longer needed.
retVar(int): Returns the count of part occurrences.
License requirements: None