NXOpen.UF.Part.SetEnforcePiecePart

Part.SetEnforcePiecePart()

Refer to UF_PART_set_enforce_piece_part for documentation.

Signature: SetEnforcePiecePart(partTag, status)

Parameters:
  • partTag (Tag) – The tag of the part
  • status (bool) – The enforced piece part status of the part. True will make the part an enforced piece part. False, will clear the enforced piece part status. It is an error to attempt to make an assembly part an enforced piece part.

License requirements: None