Page 1 of 1

Get current brush mode?

Posted: 21 Oct 2009, 14:59
by KenC
I'm hacking together a script to change line size up and down in 10 pixel increments no matter what tool is selected.

Is there a command to tell me what the current brush type is.. airbrush,penbrush,cutbrush etc..?

There's tv_BrushInfo but it only returns the width height of the cutbrush and not what type of brush is selected.

Re: Get current brush mode?

Posted: 21 Oct 2009, 15:06
by Hervé
KenC wrote:I'm hacking together a script to change line size up and down in 10 pixel increments no matter what tool is selected.

Is there a command to tell me what the current brush type is.. airbrush,penbrush,cutbrush etc..?

There's tv_BrushInfo but it only returns the width height of the cutbrush and not what type of brush is selected.
tv_getactivetool and tv_getactiveshape will do the job