NXOpen.UF.Assem.AskPartOccsOfInst¶
-
Assem.
AskPartOccsOfInst
()¶ Refer to UF_ASSEM_ask_part_occs_of_inst for documentation.
Signature:
AskPartOccsOfInst(instance)
Parameters: instance (Tag) – Tag of instance to query for part occurrences Returns: A Tuple Return type: A tuple consisting of (partOccs,int) partOccs(Tag): Allocated array of tags of part occurrences. The part_occs array must be freed with UF_free when it is no longer needed.
retVar(int): Returns the count of part occurrences. When a -1 is returned thenthe tag is not valid or another error occurred. Zero means therewere no occurrences of the instance.
License requirements: None