CMM and CAM Plans per Feature 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.

Install
  1. Download the package and unzip it anywhere. Keep the folders nxpid and nxgui side by side.
  2. Once, with Python 3 on the path, fetch the schemas next to it: python -m nxpid.fetch_schema (AP242) and python -m nxpid.fetch_qif_schema (QIF 3.0, 3.8 MB, each file checked against the pinned commit).
  3. In PowerShell, run: powershell -ExecutionPolicy Bypass -File nxgui\Install-NxPidGui.ps1  (it sets UGII_USER_DIR for your Windows user; if you already use that variable it stops and tells you what to do instead).
  4. Start NX. The PIDs ribbon tab has a Manufacturing and Inspection group, and Menu > PIDs ends with Export QIF 3.0 and CMM and CAM Plans.
  5. Open a part with PMI and choose CMM and CAM Plans (needs the NX CAM feature-based machining and NX CMM inspection programming licences; without one, that half is skipped and said so). It saves the part, writes <part>_cam.prt and <part>_cmm.prt in <part folder>\pid, the plans per operational feature (.opf.csv, .plan.json) and the QIF with its Plan, puts each face's and edge's plan on it as attributes (one Undo takes them off) and lists the plans in the Information window.
  6. Batch: "%UGII_BASE_DIR%\NXBIN\run_journal.exe" nxpid\journal_all_in_one.py -args <part.prt> <out folder> --plans
  7. To remove the menu: powershell -File nxgui\Install-NxPidGui.ps1 -Remove

Source: chrisdamonmartini/nx-step-pid at 40a01600ff6f3ef7991bf936462bb12be6ccaf6e
More: https://nxautomations.xcelerator.us/cmm-cam-plans
