tv_guidelineadd "image" - how to add from image library instead of file?

A forum dedicated to George scripting questions
Post Reply
ademir.p
Posts: 10
Joined: 24 May 2022, 14:59

tv_guidelineadd "image" - how to add from image library instead of file?

Post by ademir.p »

Hi,

I have an image library with a few images imported from file.

Now I wish to create guidelines in my TVPaint project file using the image files in my image library.

Manually I would do the following:

Add support image guideline:
1.png
1.png (11.54 KiB) Viewed 819 times
Choose the image file from the image library:
2.png
2.png (13.32 KiB) Viewed 819 times
Add it to the project:
3.png
3.png (41.96 KiB) Viewed 819 times
I had a look at the documentation: https://doc.tvpaint.com/assets/files/ge ... b5bb74.txt

Code: Select all

tv_guidelineadd "image" ["path" iPath] ["x" iX] ["y" iY] ["rotation" iAngle] ["scale" iScale] ["flip" "x"|"y"|"xy"] ["alphamode" "premultiply"|"nopremultiply"]
Is it possible to import the image from Image Library instead of from File?
Windows 11 Pro, 64-bit, 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz, 16 GB RAM
TVPaint Animation 11 Pro WIBU (11.5.3-64 bits)
Post Reply