Is it possible to get the previously used color with george?

A forum dedicated to George scripting questions
Post Reply
User avatar
ini
Posts: 131
Joined: 14 Aug 2015, 17:47
Contact:

Is it possible to get the previously used color with george?

Post by ini »

Hi
In tvp color panel, we can see the color used before.
Image

Is it possible to get "r g b" of just previously used color in george?
e-mail : ini@7ini.com twitter : @Ain_is_
-----------------------------------------
TVPaint 11 PRO STD (11.7.0 - 64bits) on
AMD Ryzen9 5950x, 3080 &2080ti, 128GB ram, Windows10, Cintiq 27 Pro (DTH-271)
TVPaint 11 PRO WIBU (11.5.1 - 64bits) on
Cintiq Mobile Studio Pro 13 (DTH-W1321H), Windows10
Xavier
Posts: 1855
Joined: 01 Oct 2019, 11:08

Re: Is it possible to get the previously used color with george?

Post by Xavier »

Hi, you can use TV_GetAPen to retrieve the current color (I changed your topic title because there was a confusion between previous and current colors).

I just checked all the George functions, there seem to be nothing to get the previous colors, sorry.
User avatar
ini
Posts: 131
Joined: 14 Aug 2015, 17:47
Contact:

Re: Is it possible to get the previously used color with george?

Post by ini »

Oh, I see...
I've tried to read them from "config.ini"
but well, seems there is no way.
Thank you.
e-mail : ini@7ini.com twitter : @Ain_is_
-----------------------------------------
TVPaint 11 PRO STD (11.7.0 - 64bits) on
AMD Ryzen9 5950x, 3080 &2080ti, 128GB ram, Windows10, Cintiq 27 Pro (DTH-271)
TVPaint 11 PRO WIBU (11.5.1 - 64bits) on
Cintiq Mobile Studio Pro 13 (DTH-W1321H), Windows10
Post Reply