Returns the specified Appearance using an index into the collection.
"appearances_var" is a variable referencing an Appearances object.
|
"appearances_var" is a variable referencing an Appearances object.
|
Type | Description |
Appearance | Returns the specified appearance or null if an invalid index is specified. |
Name | Type | Description |
index | integer | The index of the appearance to return where the first item in the collection is 0. |
Name | Description |
Material API Sample | Demonstrates using materials and appearance using the API. To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. The sample also used an external appearance library which you can get here. Copy that to any location on your computer and edit the path in the script. When running the script, have a design open that contains a body in the root component. |