NXOpen.UF.Part.UpdateFamilyInstance

Part.UpdateFamilyInstance()

Refer to UF_PART_update_family_instance for documentation.

Signature: UpdateFamilyInstance(family, memberIndex, forceUpdate)

Parameters:
  • family (Tag) – Object identifier of the family.
  • memberIndex (int) – Index of the family member.
  • forceUpdate (bool) – Always update instance if found?
Returns:

A Tuple

Return type:

A tuple consisting of (part,saved,count,partList,errorList,info)

part(Tag): Tag of the part containing the family instance.

saved(bool): Was the instance recreated and saved?

count(int): Count of errors.

partList(list of Tag): An allocated array containing the tags that failed to save. Use UF_free to deallocate memory when done.

errorList(list of int): An allocated array of error codes corresponding to the part tags in part_list. Use UF_free to deallocate memory when done.

info(str): Additional information about the instance. Use UF_free to deallocate memory when done.

License requirements: SOLIDS MODELING