Jump to content

Revit > Max Hundreds of materials


jackpedleham
 Share

Recommended Posts

Hi, is there any way of stopping the ridiculous amount of materials in revit coming across to max? There are scores of identical materials coming through from architect models into our max scenes. Is anyone aware of a decent cleanup or 'merge similar materials' script or something? Its a very messy system.

Link to comment
Share on other sites

I have made my own script for the same. It just picks it up as per the Autodesk material definitions that way everything that is Concrete gets one material that I have prepared. Also a good idea is to keep all the materials converted in an Array and when converting in the for loop check if material exists in Array, if it exists apply the same material if it doesn't then create it.

 

mat = obj.material

 

def = filterstring mat.definitionid "-"

 

if (def[1] == "Concrete") then

(

-- Create material here

)

Edited by siddharthkolte
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...