DATAKIT SDK  V2026.2
How to find PMIs standard

The standard used in a CAD file is stored in the Dtk_Info class of a Dtk_Component.

It can be accessed using the method Dtk_Info::FindAttribute with the following keys:

  • "Dtk_PMIGlobalStandard" : Returns the global PMI standard used in the CAD file.

This attribute is populated by the following readers: CatiaV5, Inventor, Creo, QIF, STEP, NX, and SOLIDWORKS.

For NX and SOLIDWORKS readers, additional standards may be available depending on the PMI type:

  • "Dtk_PMIWeldStandard" : Returns the welding PMI standard.
  • "Dtk_PMIRoughnessStandard" : Returns the surface roughness PMI standard.

Example:

Dtk_Info::FindAttribute(L"Dtk_PMIGlobalStandard", outVal);
Dtk_Info::FindAttribute
Dtk_ErrorStatus FindAttribute(const Dtk_string &name, Dtk_Val &val) const