Your Ad Here

Go to: Synopsis. Return value. Related. Python examples.

Synopsis

getDefaultBrush()

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

getDefaultBrush is undoable, queryable, and editable.

The command returns the name of the default Paint Effects brush.

Return value


[string] (name of the default brush node)

Related

dynPaintEditor, stroke

Python examples

import maya.cmds as cmds

# get the name of the current brush
#
brush = cmds.getDefaultBrush()

  

Return to Autodesk Index


Your Ad Here