Returns the number of materials in the document.
Rhino.MaterialCount ()
None.
Number
The number of materials in the document.
Dim intCount
intCount = Rhino.MaterialCount
Rhino.Print "There are " & CStr(intCount) & " materials."
MaterialId
MaterialIds
MaterialIndex