NXOpen.UF.Part.AskFamilies

Part.AskFamilies()

Refer to UF_PART_ask_families for documentation.

Signature: AskFamilies(part)

Parameters:part (Tag) – Tag of the part. If you have a part occurrence, use UF_ASSEM_ask_prototype_of_occ to get the tag of the part to pass into this routine. If you have a part instance, use UF_ASSEM_ask_parent_of_instance to get the tag of the part to pass into this routine.
Returns:A Tuple
Return type:A tuple consisting of (familyCount,families)

familyCount(int): Number of part families in the part.

families(list of Tag): Object identifiers of the part families. Use UF_free to deallocate memory when done.

License requirements: None