Hide menu
Loading...
Searching...
No Matches
Unity PMI Viewer Example

Table of Contents

Reads an external CAD file along with PMI and translates its contents into Unity objects at runtime.

This example is based on the Unity Base Viewer Example with minor changes for importing models with PMI.
To convert PMI graphical entities into Unity's objects, the ImportPMI parameter should be sent to true:

Unity_ObjectFactory aFactory = new Unity_ObjectFactory();
aFactory.Parameters().SetImportPMI(true);

For objects which have PMI data, additional PMI GameObject will be created with all PMI entities:

Files

3rd party software

This example uses the open source plugin "Runtime File Browser" available under the MIT license.