I’m trying to get the material properties of a material of an object… Not sure if I added the material incorrectly in Rhino or if I’m not getting it properly in code (C#).
The object(s) with the material are valid. But each object’s
Attributes.MaterialIndex is -1.
Is it because the material is on the layer itself and not each object in the layer? And if so, how do I get the material?