In an expression will result in an error, but you can assign it to a Return with no result: not an empty string, but no result at all.Īttempting to directly compare this non-result to another value or use it Returns the type of data currently in the attribute.Īttributes of simple types such as strings and numerics always containĭata, but attributes of complex types (arrays, meshes, etc) may contain no data Returns 1 if non-multi.Įvaluate the attribute at the given time instead of the current time. Returns the size of a multi-attribute array. This flag does not suppress all error messages, The attribute will be evaluated even though its dataĬannot be displayed. Value, suppress the error message saying that the data cannot beĭisplayed. When evaluating an attribute that is not a numeric or string An attribute is settable if it's not lockedĪnd either not connected, or has only keyframed animation. Returns 1 if this attribute is currently settable by setAttr,Ġ otherwise. If the attribute is a multi, this will return a list containingĪll of the valid indices for the attribute. Returns the keyable state of the attribute. Keyable attributes also show in the channel box.Įxpand any environment variable and (tilde characters on UNIX)įound in string attributes which are returned. Returns whether the attribute is set to show in the channelBox. Returns whether the attribute is set to be cached internally UI language Maya is running in (about -uiLanguage). Note that the returned string value is dependent on the Get the attribute values as strings instead of integer values. This flag is only valid for enum attributes. Related addAttr, attributeQuery, connectAttr, disconnectAttr, listAttr, setAttr Flags asString, caching, channelBox, expandEnvironmentVariables, keyable, lock, multiIndices, settable, silent, size, time, type Long name (short name) Of values returned is dependent on the attribute type.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |