pymel.core.general.attributeInfo

attributeInfo(*args, **kwargs)

This command lists all of the attributes that are marked with certain flags. Combinations of flags may be specified and all will be considered. (The method of combination depends on the state of the logicalAnd/andflag.) When the allAttributes/allflag is specified, attributes of all types will be listed.

Flags:
  • allAttributes : all (bool) [create]

    Show all attributes associated with the node regardless of type. Use of this flag overrides any other attribute type flags and logical operation that may be specified on the command.

  • bool : b (bool) [create]

    Show the attributes that are of type boolean. Use the ‘on’ state to get only boolean attributes; the ‘off’ state to ignore boolean attributes.

  • enumerated : e (bool) [create]

    Show the attributes that are of type enumerated. Use the ‘on’ state to get only enumerated attributes; the ‘off’ state to ignore enumerated attributes.

  • hidden : h (bool) [create]

    Show the attributes that are marked as hidden. Use the ‘on’ state to get hidden attributes; the ‘off’ state to get non- hidden attributes.

  • internal : i (bool) [create]

    Show the attributes that are marked as internal to the node. Use the ‘on’ state to get internal attributes; the ‘off’ state to get non-internal attributes.

  • leaf : l (bool) [create]

    Show the attributes that are complex leaves (ie. that have parent attributes and have no children themselves). Use the ‘on’ state to get leaf attributes; the ‘off’ state to get non-leaf attributes.

  • logicalAnd : logicalAnd (bool) [create]

    The default is to take the logical ‘or’ of the above conditions. Specifying this flag switches to the logical ‘and’ instead.

  • multi : m (bool) [create]

    Show the attributes that are multis. Use the ‘on’ state to get multi attributes; the ‘off’ state to get non-multi attributes.

  • short : s (bool) [create]

    Show the short attribute names instead of the long names.

  • type : t (unicode) [create]

    static node type from which to get ‘affects’ information Flag can have multiple arguments, passed either as a tuple or a list.

  • userInterface : ui (bool) [create]

    Show the UI-friendly attribute names instead of the Maya ASCII names. Takes precedence over the -s/-short flag if both are specified.

  • writable : w (bool) [create]

    Show the attributes that are writable (ie. can have input connections). Use the ‘on’ state to get writable attributes; the ‘off’ state to get non-writable attributes.

Derived from mel command maya.cmds.attributeInfo

Previous topic

pymel.core.general.assignCommand

Next topic

pymel.core.general.attributeName

Core

Core Modules

Other Modules

This Page