NX Automations · NX Open Python + NX CAM + NX CMM Inspection + PIDs menu

CMM and CAM Plans per Feature

Download 1.0.1

Gives every operational feature a machining plan from NX CAM's own feature recognition and every characteristic a measurement plan from NX CMM Inspection's Link PMI, and writes them as a QIF 3.0 Plan.

Verification passing on NX 2606.5001 · 2026-10-29 · repo 40a0160

PIDs > CMM and CAM Plans on the demo part: NX CAM made 20 operations on 13 machining features (20 of 53 operational features get them as their machining plan), NX CMM Inspection 12 inspection features and 15 tolerances (15 characteristics measured by them), 77 measurement steps for 82 characteristics, the QIF with its Plan valid; the plans are on the part's faces and edges, one Undo takes them off. The Information window lists every step. Click to zoom.

What was asked

Every operational feature should have a manufacturing plan and a test plan, and every characteristic a way to be measured. NX already recognises machining features and makes their operations in CAM, and links PMI to inspection features and tolerances in CMM Inspection. Can those be run on the part, tied back to its operational features and characteristics by persistent ID, and replace the default plan for each kind of feature wherever NX made one, with the measurement plan going out as QIF?

What it does

  • Runs NX CAM's parametric feature recognition and its rule-based feature processes (MillDrill rules) on a copy of the part, and gives each operational feature the operations, tools and tool diameters NX made for the machining feature its faces belong to; inside edges formed by those cuts say so.
  • Runs NX CMM Inspection's Link PMI on another copy, and gives each characteristic NX can measure NX's inspection feature and tolerance; what NX cannot link (roughness, general notes) or links only in part is reported, and keeps its default plan.
  • Gives every characteristic a measurement step from its kind and its feature's geometry (a CMM probing pattern with a point count, a roughness tester, a visual and edge-break gauge check) and writes them as a QIF 3.0 Plan: datum features first, each feature measured, then its characteristics evaluated.
  • Replaces the default plan of every operational feature NX made a plan for, in the features file and table, and keeps the default, labelled as such, everywhere else.
  • Checks the CAM and CMM licences first, and refuses a CAM rule library NX does not know: without them the default plans stand and the reason is given.
  • Runs from the PIDs menu in NX (Manufacturing and Inspection group): CMM and CAM Plans makes the plans for the open part, puts them on its faces and edges (one Undo takes them off) and lists them.
20/20
NX CAM operations as worked by hand
15/15
characteristics planned by NX CMM Inspection
82/82
characteristics in the QIF measurement plan
2606.5001
NX release it was verified on
The CAM copy the command made, in NX CAM's Operation Navigator (Geometry View): each machining feature NX recognised (the slot, four through holes, the counterbored hole, seven planar faces) with its operations and tools: spot drill and drill per hole; spot drill, drill, boring bar and counterbore tool for the counterbored hole; end and face mills.
The inspection copy, in NX CMM Inspection's navigator: 12 inspection features, each named by its face's persistent ID, and 15 tolerances tied to them (POS_4X once per hole). LENGTH_120 is linked but incomplete; the roughness symbol and the general note are not linked, so their characteristics keep the default plan.