Skip to main content
VIM Unity API FAQ

Diving into VIM's API features for Unity

VIM avatar
Written by VIM
Updated over a year ago

VIM's game ready tessellation and BIM property access often amplify Unity real-time experiences and apps for AECO pros with fast load times, high fps, and access to lots of data.
"I was able to get the VIM imported and loaded on a sample project that I tested and loaded on my iPad. The model loaded quickly and performs really well." - unity developer for large AEC firm.


Frequently Asked Questions

Can I get VIMs to load in runtime?

  • You can open VIMs at runtime like an app or load them into the editor if you want to make a one-off experience.

    • Unity will automatically find and import any vim file you place into the project folder.

    • The newly created asset will have a vim icon.

    • You can reference the asset in the SampleLoader to load it.

Is there a reason why the model will load away from 0?

  • The model offset comes from the revit export, so it will be different for different models.

Is there a way to access the model objects/vertex information?

  • You can access both mesh data

    • See SampleInspectorUI.cs to see how to access the data for each object.

    • See VimHighlighter.cs to see how to access geometry for specific objects.

How can I move the model around?

  • By default, for performance reason, meshes are displayed without creating game objects. If you’d like the scene to be rendered using a more traditional approach you can change the algorithm field to “webgl” on the loader.

  • If you use webgl-mode, just move the root scene object around, otherwise I would recommend just moving the camera at the start.



    What Versions of VIM are supported?

    1. com.vim.api.0.5.0.zip which uses VIM 1.0.xx series for Unity 2019.4.14f1

    2. com.vim.api.0.5.6.zip and com.vim.api.0.5.7.zip which uses VIM 1.2.00 - 1.2.72 for Unity 2022.2.0b5

    3. com.vim.api.0.5.8.zip or newer which uses VIM 1.2.73 and newer for Unity 2022.3.9f1

Did this answer your question?