I'm writing some stuff to make paper management faster, toggle paper on and off, rotate, size it etc.. just making some popup menus to quickly change angle size etc.. without going to the paper palette.
If there a command that fills Result with the current paper attributes?
I found tv_paper that the gui will stick on buttons when you capture a brush but in my george version there's no reference to to tv_paper or other functions related to paper.
Command to check paper attributes?
Command to check paper attributes?
There's no place like ~/
Re: Command to check paper attributes?
tv_paperinfo
tv_warn result will display all the parameters of your active paper.
nb: (little bug ?) the "paper-name" last info is displayed as "/paper-name",
with a slash preceding the name.
tv_warn result will display all the parameters of your active paper.
nb: (little bug ?) the "paper-name" last info is displayed as "/paper-name",
with a slash preceding the name.
Re: Command to check paper attributes?
* tv_paperInfo -> return the current paper configuration
* tv_paper ["Active" 0/1] ["OffsetX" value] ["OffsetY" value] ["FlipX" 0/1] ["FlipY" 0/1] ["Hardness" value] ["Invert" 0/1] ["Size" value] ["Angle" value] ["Name" name]
* tv_paperenum index
* tv_paper ["Active" 0/1] ["OffsetX" value] ["OffsetY" value] ["FlipX" 0/1] ["FlipY" 0/1] ["Hardness" value] ["Invert" 0/1] ["Size" value] ["Angle" value] ["Name" name]
* tv_paperenum index
Hervé ADAM, TVPaint Team
Re: Command to check paper attributes?
Thanks much, one more dialog window I don't have to keep opening, I loves me some shortcuts
Will there be an updated george reference at some point?
Will there be an updated george reference at some point?
There's no place like ~/
Re: Command to check paper attributes?
On a related note, is there anyway tv_ListRequest can do submenus?
There's no place like ~/
Re: Command to check paper attributes?
No, not in the current release but I can add it on the next update.KenC wrote:On a related note, is there anyway tv_ListRequest can do submenus?
Hervé ADAM, TVPaint Team
Re: Command to check paper attributes?
If you have the time that would be a great addition I think. For example right now you have to create say 5 different scripts that each pops up a list of related choices and bind each one to a key, wasting 5 keys or create a huge popup menu with all the choices making it hard to overlook it all.
With popup submenus you could just have one menu with a bunch of submenus and bind that to one key.
With popup submenus you could just have one menu with a bunch of submenus and bind that to one key.
There's no place like ~/