NXKnowledge

GRIP NC Reference Guide > Introduction > Machining Submodules

Machining Submodules

The Machining Module (Application) in GRIP NC is made up of several submodules (operation types) that produce NC tool paths. The machining module and each submodule must be addressed by a command that makes them available for the rest of the GRIP program.

The machining-module command:

&MODULE = &MACH

should be specified only once, at the top of the program. Respecifying it before path regeneration reinitializes machining GPAs to their default values. It also clears the Undo list and adds the initial undo mark set upon entering manufacturing.

Submodules are then made available individually:

&OPTSET = '/mydir/templates/cam_oper_templ_set.opt'
OPER/NEW, OPNAME, 'operation name', 'op type', 'op subtype'

Behavior when respecifying the operation type before path generation:

  • Same operation type as current — its GPAs are not reinitialized.
  • Different operation type — the new type's GPAs are reinitialized to defaults.
  • OPER/RETRVE also sets the submodule/operation type.

OPER/NEW specifies the current operation type and initializes operation settings:

  • No previous operation of the same type — defaults are used.
  • Previous operation of the same type exists — those settings are reused (exceptions: Sequential Mill and Drive Curve Lathe, which do not reuse prior settings).

Source: https://docs.sw.siemens.com/documentation/external/PL20220512394070742/en-US/nx_api/nx/2212/nx_api/en-US/gripnc/introduction/intro_mach.html · retrieved Tue Jul 07 2026 00:00:00 GMT+0000 (Coordinated Universal Time)