Export Revit Models directly to Unity with materials and textures.
Send visible elements of a 3D View to the assets folder of a Unity Project.
The tool will generate OBJ, MTL and image files format that can be read by Unity. Other VR and modeling softwares like Unreal Engine or Blender can also read these types of files.
All meshes from the 3D view will be parsed and exported. Therefore, it is recommended to avoid multiple detailed objects in one same view.
It will also be lighter to handle models in Unity if objects are exported separately.
Image angles form textures are not supported for now, if a Revit material includes a rotated image, the equivalent material in Unity will reset the angle to 0.
How to use "Export To Unity":
1. To use "Export to Unity" in a Revit project, create a 3D View and manage objects visibility.
2. Go to "To Unity" under the Add-Ins tab and click on "Model".
3. Select a folder to save the files. It can be directly to the Unity Assets folder or elsewhere and moved after to the Assets folder of a Unity Project.
4. Once in the Assets folder, Unity will read and generate objects and textures.
5. Orientation may have to be modified, usually add a -90 degree to the X Rotation under Transform.
How to create the mouse over effect:
1. Go to "To Unity" under the Add-Ins tab and click on "Properties".
2. Click on "Show Parameters", select parameters and save the file.
3. In Unity, select all the objects and add Component (the script) with the suffix _MouseOver.
4. At runtime you should see the object properties on top left when the mouse is over the objects.
Notes:
1. Imported DWG solids are not completely supported.
2. Only image textures are supported, bump or cutouts are not supported.
|