pymel.core.general.artAttrTool

artAttrTool(*args, **kwargs)

The artAttrTool command manages the list of tool types which are used for attribute painting. This command supports querying the list contents as well as adding new tools to the list. Note that there is a set of built-in tools. The list of built-ins can be queried by starting Maya and doing an artAttrTool -q. The tools which are managed by this command are all intended for attribute painting via Artisan: when you create a new context via artAttrCtx you specify the tool name via artAttrCtx’s -whichToolflag. Typically the user may wish to simply use one of the built-in tools. However, if you need to have custom Properties and Values sheets asscociated with your tool, you will need to define a custom tool via artAttrTool -add toolName. For an example of a custom attribute painting tool, see the devkit example customtoolPaint.mel. In query mode, return type is based on queried flag.

Flags:
  • add : string (unicode) [create]

  • exists : ex (unicode) [create,query]

    Checks if the named tool exists, returning true if found, and false otherwise.

  • remove : rm (unicode) [create]

    Removes the named tool from the internal list of tools. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.artAttrTool

Previous topic

pymel.core.general.align

Next topic

pymel.core.general.assignCommand

Core

Core Modules

Other Modules

This Page