Troubleshooting “Mesh Import from OBJ Files” for Revit

Using Mesh Import from OBJ Files, one may find some limitations.

As a general rule, one should always Save before doing bold things in Revit.

Most important is that the limit is around 150000 faces for one import. The mesh should be continuous and ideally, closed. That is called manifold.

Addressing Possible Problems

Mesh is too big. One may get this error, caused by Revit’s internal limitations on the shapes used:

Screen Shot 02-10-15 at 07.42 AM

A fix is to reduce the mesh’s size.

One app that is very good for mesh fixing is ReCap Photo (formerly Autodesk ReMake).  ReMESH is an alternative.

One can delete unwanted faces:

Screen Shot 02-13-15 at 09.27 AM

One can decimate the mesh to less than 150000 faces. (This mesh looks really nice to start with because it has around 1000000 faces and has images mapped to it.) Don’t worry about the image maps (MTL file, etc.) as they won’t come into Revit, anyway.

 Screen Shot 02-10-15 at 07.38 AM

Another problem is that the mesh could come in as mush. This may be caused by being too big and/or not manifold.

Screen Shot 02-13-15 at 09.17 AM 001

One can try doing “Detect and fix model issues” in ReCap Photo. This will fill holes, tunnels, and spikes.


If the mesh is 3D-printable and below the limits in number of faces, it should come into Revit well. See also Preparing Meshes for Import to Revit as DirectShape for more examples.

This is the imported mesh in Revit:

Screen Shot 02-13-15 at 09.41 AM

Screen Shot 02-10-15 at 07.49 AM

Choose a Good Category

The Category choices to make the import are:

Casework
Entourage
Furniture
Generic Models
Lighting Fixtures
Mass
Mechanical Equipment
Planting
Roads
Site
Structural Framing

One reason to chose a particular Category is to have one that is cuttable or not. A list of cuttable Categories: http://help.autodesk.com/view/RVT/2015/ENU/?guid=GUID-3253EFCA-F38F-4086-9A4D-C873D8D04867

Another reason is to control the elements’ appearance via their Categories.

Scaling

Revit internal units are feet. One can use the presets, or enter one’s own value.

Mesh Import Settings

Orientation

Try whichever setting works

App is Unsigned

This dialog may be shown the first time loading the app in Revit:

15_611x100_d1b54cfe

Just click ‘Always Load’

2016-10-16-00_18_09

DLLs associated with Revit apps may be checked for viruses using a service like VirusTotal:

2016-10-16-00_20_36-antivirus-scan-for-5856e3e9870179e8f9b51353a282ddf886554fc59c28f216dfca79037827b

Region Number Format

Some regions use commas instead of dots for the decimal place. That may cause the import to fail. A workaround is to set Window’s Region to United States before importing the OBJ.

Buy the App

“Mesh Import from OBJ Files” is Available for $50 in the Autodesk Revit App Store

Feedback

Messages can be sent to the author at https://truevis.com/contact