The MaterialTable type exposes the following members.
Returns number of materials in the material table, including deleted materials.
In Rhino for Windows 6.6, this member is inherited from CommonComponentTableTCount.
At all times, there is a "current" material. Unless otherwise specified, new objects are assigned to the current material. The current material is never locked, hidden, or deleted.
Gets or sets the current material source.
Document that owns this table.
In Rhino for Windows 6.6, this member is inherited from RhinoDocCommonTableTDocument.
Conceptually, the material table is an array of materials. The operator can be used to get individual materials. A material is either active or deleted and this state is reported by Material.IsDeleted.