First stab at this one. It went well, so far. The Revit file I received was done well, so it was easy to get it into MAX and with a script I was able to create a layer for each material used. I tried to keep the light on the building, so hopefully the foreground shadows are not too gloomy.
Images are very small, I can’t really see any of the detail, it’s probably the new forum that is downscaling everything.
yes it does and quite drastically…its almost useless posting somethign wiht greater detail all gets lots…i thin i will have to look around for external placement
Surely the resizing is a glitch and not meant to be like that? It’s absolutely useless at the moment.
Same as the firsts for me.
This is… problematic !
Just click Full Size before posting, it’s not brain surgery.

Yep, I did!
What script was that? ![]()
Layer from material and it is brlilliant.
-- put objects onto layers one layer for each material and name the layer by the material name
-- by Olaf Finkbeiner for www.mainworks.de
layers = #()
obj = #()
for o in geometry where o.material != undefined do (append obj o)
format “----------------------------------\n”
format “objects with materials: %\n” obj.count
m = scenematerials
c = m.count
format “materials in the scene: %\n” c
for i = 1 to c do
(
layername = m.name
format “material number:% | material name:%\n” i layername
layer = layermanager.newLayerFromName layername
if layer != undefined then format “new layer created: %\n” layer.name
else format “!! the layer was not created !!\n”
for o in obj where o.material.name == m*.name do (layer.addnode o)*
)
format “----------------------------------\n”
I was gonna ask about the script too… Thanks for sharing that Bobby!
I’ve never encountered a revit model that had clear materials, most of them were multisub materials, how does it handle those?
Is the Universal Material Converter still the ONLY way to convert Autodesk Generic materials to vray?
I’ll record something when I get a chance. It doesn’t splice up the geometry, it’ll create a multi-material and put it on its own layer.
Thanks Bobby, will try it out.
Out of curiosity, how do you normally import Revit files? I’ve done all sorts of variations over the years, a bit depending of the Max version, and in 2017 you can relatively reliably open an RVT file directly and then choose to base the layers on materials, type etc. This works relatively ok but basically creates one object per material that you then have to explode, are you saying this script somehow splits up the objects? What happens if an object has more than one material?
Well, I see that there were some new posts while I wrote this, thanks. Love to see a video.
I just import the RVT and with a couple scripts I am good. Here is a quick video - Revit to 3DS MAX Materials to Layer — Parker Haus Residential Renderings


