NX Automations · NX Open Python + PIDs menu

QIF Export

Download 1.0.1

Writes a part's operational features, their parents and its characteristics as a QIF 3.0 document in which every face, edge, feature and characteristic carries its persistent ID as its QPId.

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

Expected values worked by hand before the run, results read back from NX, and deliberate failures that must be caught. Run by the session that built it, on the repo commit below with a clean tree; imported here unchanged.

NX
2606.5001
Version
1.0.1 · chrisdamonmartini/nx-step-pid @ 40a0160
Run
2026-10-29T02:56:49Z
Checks
14 of 14 hold
Overall
All checks hold
ResultCheck
HoldsEvery revision ran through NX and wrote its QIF5 of 5 revisions
HoldsThe QIF 3.0 schema used is the pinned one37 of 37 files byte-identical to QualityInformationFramework/qif-community@207b93c
HoldsEvery QIF document is valid against the QIF 3.0 XSD5 of 5 valid against QIFDocument.xsd version 3.0.0 (.NET XmlSchemaSet, keys and keyrefs included)
HoldsThe pipeline validated its own QIF inside NXjournal_all_in_one --qif step: {'A': True, 'B': True, 'C': True, 'D': True, 'E': True}
HoldsRevision A: the document holds what was worked by hand{'faces': 17, 'edges': 36, 'features': {'parent feature': 13, 'operational feature': 53, 'composite feature': 3, 'constructed feature': 1}, 'items': 70, 'characteristics': 82, 'qpids': 276, 'datums': ['A', 'B', 'C']}; expected {'faces': 17, 'edges': 36, 'features': {'operational feature': 53, 'parent feature': 13, 'composite feature': 3, 'constructed feature': 1}, 'items': 70, 'characteristics': 82, 'qpids': 276, 'datums': ['A', 'B', 'C']}; all 277 QPIds (document's included) distinct: True
HoldsEvery face, edge, feature and characteristic carries the persistent ID NX and the pipeline hold1081 items over 5 revisions: face / edge PIDs = the names read back from NX, feature UUIDs = the operational features' (tied to exactly their faces / edges), characteristic UUIDs and limits = the characteristics', PMI UUIDs = NX's
HoldsQPIds persist across the revisions exactly as worked by hand (kept/added/removed)A->B face 17/2/0 edge 35/6/1 feature 69/10/1 characteristic 81/8/1 changed 4; B->C face 19/0/0 edge 41/0/0 feature 79/0/0 characteristic 89/2/0 changed 0; A->D face 17/0/0 edge 36/0/0 feature 70/0/0 characteristic 82/0/0 changed 1; A->E face 17/1/0 edge 36/2/0 feature 70/4/0 characteristic 79/4/3 changed 0
HoldsThe changed tolerance is read as a change on the same QPIds4 characteristics of ['DIA_8_4X'] keep their QPIds, max now ['0.03']; renumbered tags A->B: 56 characteristics, 45 features (QPIds unchanged)
HoldsSame model, same document: rebuilding A off-line gives NX's file byte for byte210038 characters, document QPId 74dc3e2c-c0f4-581d-b1f2-d2fdf3beda8f
HoldsNegative control: the schema refuses a broken reference and a QPId used twiceA with one FeatureNominalId pointing nowhere: refused (line 2914: The key sequence '999999' in 'http://qifstandards.org/xsd/qif3:GroupFeatureNominalKey' Keyref fails to refer to some key.); A with a face PID used twice: refused (line 1906: There is a duplicate key sequence 'd3af8668-aff1-57f4-b265-776b70d6dc0d' for the 'http://qifstandards.org/xsd/qif3:QPIdKey' key o)
HoldsNegative control: without the persistent IDs the features lose their identityA->B features kept: 69 with PIDs, 7 keyed on NX journal identifiers instead
HoldsThe PIDs menu's Export QIF 3.0 writes the same QPIds as the pipelinejournal qif_export.py played in NX on a copy of A: result box '70 features (53 operational, 13 parents) and 82 characteristics, 17 faces and 36 edges, every one with its persistent ID...'; its file read back: 70 features, 82 characteristics, 17 faces, all QPIds the same as the pipeline's A: True; valid: True; Information window 164 lines
HoldsThe download carries every script the PIDs menu names, and all they import42 files at 29b27ae; 40 needed by nxpid.men's ACTIONS and the import closure (lazy imports included): missing none
HoldsNegative control: a download without qif_core.py and plan_find.py is refused as incompletereported missing: {'nxgui/application/plan_find.py': 'named by nxgui/startup/nxpid.men', 'nxpid/qif_core.py': 'imported by nxgui/application/plan_find.py'}

In the NX window

PIDs > Export QIF 3.0 on the demo part: the result box (70 features, 82 characteristics, 17 faces and 36 edges, each with its persistent ID as its QPId; valid against QIF 3.0.0) and the Information window listing every feature and characteristic with its QPId, read back from the file.
Menu > PIDs: Export QIF 3.0 and CMM and CAM Plans are the last two commands.