I have materials in the material panel in Rhino, and I would like to add them to layers using Grasshopper. The Human plugin has a component to change material for layers, but it only works if some object in Rhino already has that material assigned. I believe this is because the material exists in the “MaterialTable”, but not the “RenderMaterialTable”. Is this correct, and is there a way to add them to the RenderMaterialTable?
I have tried to understand the structure in the API references, but I get confused about the different material tables!
(My workaround so far have been use Python in Grasshopper to run the Rhino command “RenderAssignMaterialToLayer”, but this breaks whatever other command is running so it does not work for me)