RhinoCommon API
ObjectAttributesMaterialIndex Property |
Gets or sets the material index.
If you want something simple and fast, set the index of the rendering material.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

Property Value
Type: Int32
Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8