How to work with PMI (Product Manufacturing Information)?

How to work with PMI (Product Manufacturing Information)?

Work with PMI should be performed using ModelData_PMIData class. 

We have a number of examples demonstrating:
- Visualization of PMI in a web-browser (this one is an interactive Web Toolkit example)

Let us note that in order for PMI to be read from the imported model, aParams.ReadPMI() has to be set to true, e.g.:
  1. ModelData_Model aModel;
  2. ModelData_ModelReader aReader;
  3. Base_ReaderParameters aParams;
  4. aParams.ReadPMI() = true;
  5. aReader.SetReaderParameters (aParams);
  6. aReader.Read ("Model name", aModel)
Let us also note that some specific models can contain no PMI themselves. In such cases you can use ModelAlgo_ValidationPropertyData class to calculate properties in runtime. See our Validation Properties Example.

In case an imported model has no information on materials in PMI, you can use ModelData_Appearance and ModelData_Material classes. See our Appearance Example.

    • Related Articles

    • PMI

      PMI stands for Product and Manufacturing Information which is design, manufacturing, quality, and other data included in a 3D CAD file. PMI can be found in Properties section. Separate dimensions or groups of them can be displayed by checking and ...
    • Can I edit PMI?

      CAD Exchanger Lab only allows viewing and converting PMI, but not editing it.
    • How to import PMI into Unity

      CAD Exchanger Unity plugin can import PMI into Unity. See our ready-made Unity PMI Viewer Example. ModelData_ModelReader has the ReadPMI parameter. It has to be set to True using SetReadPMI method. This will make CAD Exchanger import PMI from the ...
    • Is it possible to import semantic (textual) PMI into Unity?

      Since there are no entities in Unity that can contain it, semantic PMI can not be transferred to Unity with our plugin. We can suggest working with ModelData_Model class to get semantic PMI data using our SDK - please see our PMI Example. Note that ...
    • Can CAD Exchanger SDK identify specific features like holes, pockets, milling faces, bosses, etc. in a given part?

      We offer a module for our SDK dedicated to work with CNC machining and sheet metal models called Manufacturing Toolkit (MTK). Its functionalities do include CNC Machining Feature Recognition. See CNC Machining Features for a full list of features ...