Long name (short name) |
Argument types |
Properties |
-keyable(-k) |
|
![create create](../gfx/create.gif) |
|
Returns the keyable state of the attribute. |
|
-lock(-l) |
|
![create create](../gfx/create.gif) |
|
Returns the lock state of the attribute. |
|
-type(-typ) |
|
![create create](../gfx/create.gif) |
|
Returns the type of data to expect at the attribute. |
|
-size(-s) |
|
![create create](../gfx/create.gif) |
|
Returns the size of a multi-attribute array. Returns 1 if
non-multi. |
|
-time(-t) |
time |
![create create](../gfx/create.gif) |
|
Evaluate the attribute at the given time instead of the current
time. |
|
-silent(-sl) |
|
![create create](../gfx/create.gif) |
|
When evaluating an attribute that is not a numeric or string
value, suppress the error message saying that the data cannot be
displayed. The attribute will be evaluated even though its data
cannot be displayed. This flag does not suppress all error
messages, only those that are benign. |
|
-settable(-se) |
|
![create create](../gfx/create.gif) |
|
Returns 1 if this attribute is currently settable by setAttr, 0
otherwise. An attribute is settable if it's not locked and either
not connected, or has only keyframed animation. |
|
-expandEnvironmentVariables(
-x) |
|
![create create](../gfx/create.gif) |
|
Expand any environment variable and (tilde characters on UNIX)
found in string attributes which are returned. |
|
-asString(-as) |
|
![create create](../gfx/create.gif) |
|
This flag is only valid for enum attributes. It allows you to
get the attribute values as strings instead of integer values. Note
that the returned string value is dependent on the UI language Maya
is running in (about -uiLanguage). |
|
-channelBox(-cb) |
|
![create create](../gfx/create.gif) |
|
Returns whether the attribute is set to show in the channelBox.
Keyable attributes also show in the channel box. |
|
-caching(-ca) |
|
![create create](../gfx/create.gif) |
|
Returns whether the attribute is set to be cached
internally |
|
-multiIndices(-mi) |
|
![create create](../gfx/create.gif) |
|
If the attribute is a multi, this will return a list containing
all of the valid indices for the attribute. |
|