How do I render a wireframe image without all triangular faces?

We have been given a model in FBX format that we need to render some wireframe images from. We are trying to use a VrayEdgeTex in the opacity slot. The problem is that as the geometry (a building) is imported, all rectangular faces are split into triangles, so each triangular ‘edge’ has the VrayEdgeTex on there as well.

I tried the ‘optimise’ modifier on parts of the mesh and ticked auto edge, but this doesn’t get rid of all the diagonal edges.

Any tips?

Convert the objects to an Editable Mesh (or slap on and Edit Mesh modifier), go into edge mode, select all edges, scroll down to the button that says ‘Auto Edge’ and click it. Try fine-tuning the angle value if you’re not happy with the results.

I once saw a script that cleans up that Revit geometry.

Thanks Bobby! Found this thread while searching for exactly that kind of script.