appearance |
Gets the Appearance of this material. |
description |
Gets and sets the description associated with this material. Setting the description is only valid for materials in a document or the favorites list. |
id |
Returns the unique internal ID of this material. |
isUsed |
Returns true if this material is used in the Design |
isValid |
Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
materialProperties |
Returns the collection of material properties associated with this material. |
name |
Returns the name of this Material. This is the name of the material as seen in the user interface. The name can only be edited if the material is in a Design or the favorites list. |
objectType |
This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.
It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
parent |
Returns the Parent object (a Library or a Design). |