Your Ad Here

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

Synopsis

getDefaultBrush

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

MEL examples

// Put the name of the current brush
// into a MEL string variable.
string $brush;
$brush = `getDefaultBrush`;

  

Return to Autodesk Index


Your Ad Here