Import Material from Materials Library

Hi,

Looking for a way to import a custom material from a library of materials I am developing. I want to import these materials into the Rhino document and then assign them by selection to different objects. Is this possible?

I would use command line scripting if necessary.

To do this manually I use ‘import from material library’. Can use Rhinoscript or Rhino API using Python.

Thanks

Eric

Hi @eric.bunn,

Try scripting the Materials command.

– Dale

Dale,

Thank you. I think this should work for me.

rs.Command("_-Materials Options LoadFromFile _Browse AssignToObjects Instamate _Enter _Enter")

Eric