NXOpen.UF.Mct.ReplaceMachine

Mct.ReplaceMachine()

Refer to UF_MCT_replace_machine for documentation.

Signature: ReplaceMachine(libref, retrieveOpt, mountingOpt)

Parameters:
  • libref (str) –
    • the library reference of the desired* machine tool. Can be gotten from a record * set or an existing NX object
  • retrieveOpt (int) –
    • Flag indicating whether tool pocket datais to be retrieved with new machine: 0 = No 1 = Yes
  • mountingOpt (NXOpen.UF.Lib.NcmctSetupReplaceMode Refer to UF_NCMCT_setup_replace_mode_t for documentation.) –
    • Flag indicating how the machine is to belocated with respect to the part if there is a part file associated with the machine: 0 = No mounting. Machine is loaded as defined. 1 = Mount the machine onto the workpiece. 2 = Mount the workpiece onto the machine.
Returns:

  • the NX object created as a result of the* retrieval

Return type:

Tag

License requirements: None