Go to: Synopsis. Return value. Related. MEL examples.
getDefaultBrush
getDefaultBrush is undoable, NOT queryable, and NOT editable.
The command returns the name of the default Paint Effects brush.string | Name of the default brush node |
// Put the name of the current brush // into a MEL string variable. string $brush; $brush = `getDefaultBrush`;