avefasad.blogg.se

Maya python setattr on multiple objects
Maya python setattr on multiple objects







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. numeric compound attributes (whose children are all numeric).This command returns the value of the named object's attribute.Ĭurrently, the types of attributes that can be displayed are: GetAttr is undoable, NOT queryable, and NOT editable. Note: Strings representing object names and arguments must be separated by commas.









Maya python setattr on multiple objects