Page 1 of 1

Add a TEXT field to AnimBrushes

Posted: 29 Apr 2017, 21:14
by Svengali
Can this be easily done???

If AnimBrushes are used in scripts it would be helpful to append an additional embedded TEXT field stored inside each AnimBrush so individual AnimBrushes could be identified (named) or verified (assigned a useful ID or temporary value that could be updated).

The TEXT could be retrieved using a new version of tv_BrushInfo and/or updated using tv_BrushRestore.

Sven

Re: Add a TEXT field to AnimBrushes

Posted: 15 May 2017, 05:10
by Elodie
Hmm, I'm not sure to understand : you can already give a description to an animbrush, but it will be displayed only if you enable tool tips (full).

Re: Add a TEXT field to AnimBrushes

Posted: 17 May 2017, 11:30
by Svengali
Elodie wrote: 15 May 2017, 05:10 Hmm, I'm not sure to understand : you can already give a description to an animbrush, but it will be displayed only if you enable tool tips (full).
AnimBrushes can be stored and reloaded to/from sub-folders without ever being assigned to buttons using GEORGE commands tv_SaveBrushAnim and tv_LoadBrushAnim. This offers all kinds of scripted possibilities for using AnimBrush image sets: stamping, looping, assemblage stuff. If there was a way to embed text information inside the animbrush (stuff like sequencing, groupings, names and sets, etc.) then the script could be sure of finding the correct information when loading and using AnimBrush files. It would also permit scripts to update changing info in the AnimBrush text field while the AnimBrushes are being used.

Sven

Re: Add a TEXT field to AnimBrushes

Posted: 17 May 2017, 12:42
by Elodie
Ok, I did not realise you wanted to do all the procedure through a script, my bad :)