NXOpen.UF.Assem.RepositionPartOccurrence

Assem.RepositionPartOccurrence()

Refer to UF_ASSEM_reposition_part_occurrence for documentation.

Signature: RepositionPartOccurrence(partOcc, xform, option)

Parameters:
  • partOcc (Tag) – The tag of the part occurrenceyou wish to transform.
  • xform (list of float) – A 4x4 delta transform matrixin terms of the displayed part.
  • option (NXOpen.UF.Assem.LevelOption Refer to UF_ASSEM_level_option_e for documentation.) – If the given part occurrencecan’t be transformed, the option determines what happens next. UF_ASSEM_use_strict_level - the operation will fail and return UF_ASSEM_err_operation_requires_override UF_ASSEM_use_existing_level - the operation will instead transform the corresponding part occurrence at the nearest level down in the assembly where an appropriate override exists. If none exists then the instance will be transformed. UF_ASSEM_establish_override - the operation will create an override in the part of the given part occurrence and then perform the transform.

License requirements: ASSEMBLIES MODULE