Page 1 of 1

Script to change current brushs opacity?

Posted: 12 Apr 2015, 09:32
by Animark
Hello,

I tried a lot but did'nt got any good results. Maybe it's a little thing for someone - for me it seems to be too big ;-).

I've made a filled stroke brush to change every black on a layer to blue. It is based on the original tint blue airbrush from one of the sketch panels. When I use some of my other filled stroke brushes with their opacity setting set to 30% and I come back to my tint blue brush, it keeps the opacity of 30% instead of 100%. So it looks like that the opacity settings are not saved in my blue filled stroke bruch.
TintBlue.JPG
TintBlue.JPG (34.5 KiB) Viewed 8733 times
Now I am searching for script (?) I can add to my blue brush to set its opacity to 100%. I tried with some georg commands but didn't catched the logic. I am an animator much more than a programmer ;-). I found out, how to ask the tool and get the settings of it, but I was'nt able to tell it the opacity. So, some help would be georgous! :D.

Re: Script to change current brushs opacity?

Posted: 12 Apr 2015, 10:57
by ZigOtto
hi Animark,

try to replace your line 3 by this command (type script's command) :

Code: Select all

tv_setactiveshape freehandfill opacity 100
hope it will do the job.

Re: Script to change current brushs opacity?

Posted: 12 Apr 2015, 12:12
by Animark
Yeah, cool! That's it. Thanks a lot :-).