File3dmMaterialTable

File3dmMaterialTable

Provides access to materials in the 3dm file.

Methods

add()

...

count()

...

findFromAttributes()

...

findId()

...

findIndex(index) → {DocObjects.Material}

Retrieves a material based on Index. This search type of search is discouraged. We are moving towards using only IDs for all tables.
Parameters:
Name Type Description
index int The index to search for.
Returns:
A material, or null if none was found.
Type
DocObjects.Material

get()

...