MaterialIds

Returns the identifiers of all material in the document.

Syntax

Rhino.MaterialIds ()

Parameters

None.

Returns

Array

An array of material identifiers if successful.

Null

If not successful, or on error.

Example

Dim arrMaterials, strMaterial

arrMaterials = Rhino.MaterialIds

If IsArray(arrMaterials) Then

  For Each strMaterial In arrMaterials

    Rhino.Print strMaterial

  Next

End If

Also See

MaterialId

MaterialIndex

MaterialIndices