FavoriteMaterials.item Method
Parent Object:
FavoriteMaterialsDefined in namespace "adsk::core" and the header file is <Core/Materials/FavoriteMaterials.h>
Description
Returns the specified Material using an index into the collection.
Syntax
"favoriteMaterials_var" is a variable referencing a FavoriteMaterials object.returnValue = favoriteMaterials_var.item(index)
|
"favoriteMaterials_var" is a variable referencing a FavoriteMaterials object.
#include <Core/Materials/FavoriteMaterials.h>
returnValue = favoriteMaterials_var->item(index);
|
Return Value
Material |
Returns the specified material or null if an invalid index is specified. |
Parameters
index |
integer |
The index of the material to return where the first item in the collection is 0. |
Version
Introduced in version August 2014