NX Automations · NX Open Python + NX CAM + NX CMM Inspection + PIDs menu
CMM and CAM Plans per Feature
Download 1.0.1Gives 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
Faces carry their persistent IDs as their NX names, so whatever NX CAM or NX CMM Inspection makes on a face can be traced back to the operational feature that face belongs to.
1. Machining (NX CAM). On a copy of the part the tool opens a CAM setup, gives its workpiece the part body and an auto-block blank, runs NX's parametric feature recognition and then the rule-based feature process with the MillDrill rule library. NX recognises the machining features (a rectangular slot, through holes, a counterbored hole, planar faces) and makes their operations with tools: spot drill and drill for a hole; spot drill, drill, bore and counterbore for a counterbored hole; a mill for the slot and each face. The saved CAM part is reopened and read back: each machining feature with its faces, each operation with its tool, tool diameter and machining feature. Every operational feature whose faces are in a machining feature gets its operations as its manufacturing plan; a concave edge between two faces of one machining feature is formed by its operations; convex edges keep their deburr.
2. Measuring (NX CMM Inspection). On another copy the tool opens an inspection setup and runs Link PMI. NX makes one inspection feature per face it measures, named by the face's persistent ID, and one tolerance per PMI value. Every characteristic of a linked PMI whose features all got an inspection feature gets NX's: the plan names the inspection feature and the tolerance. NX does not link roughness symbols or general notes, which is where most characteristics come from, and on a flatness applied to two faces individually it makes one inspection feature for two characteristics: those keep their default plan and the gap is reported.
3. Every characteristic gets a step. From its kind and its feature's geometry:
| characteristic on | measured by |
|---|---|
| a hole or cylinder | CMM: 3 circles of 8 points at 3 heights (24 points) |
| a plane (size, orientation, location) | CMM: 3 x 3 grid |
| a plane (flatness, profile) | CMM: 5 x 5 grid |
| a cone | CMM: 2 circles at 2 heights |
| roughness | roughness tester across the lay |
| an edge break | visual, and an edge-break gauge |
| a thread | thread gauge |
Characteristics on one feature measured the same way share one step.
4. QIF Plan. The steps go into the QIF 3.0 document as an ordered plan: the datum features first, then for each feature a measure step (its method, point count and instructions) followed by an evaluate step listing its characteristics, all referring to the features and characteristics by their QIF ids, which carry the persistent IDs.
5. Licences. The CAM half needs NX CAM feature-based machining, the CMM half NX CMM inspection programming; each is checked in NX first, and a missing licence or an unknown rule library leaves the default plans in place with the reason.
1.0.1 carries the PIDs menu's file-box fix from STEP Persistent IDs 1.0.3: Cancel in the native file box (Validate a STEP file, Import STEP with PIDs) now does nothing, where 1.0.0 went ahead with whatever name came back. The download also holds every script the shared PIDs menu names, so no button points at a missing file. The verification was run again at the release commit.