Delete exposure & Enter a value manualle

A forum dedicated to George scripting questions
Post Reply
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Delete exposure & Enter a value manualle

Post by NathanOtano »

I'm doodling with some goerge script and have two questions

Is there a function to remove an exposure of an instance? I can use tv_Layercut but that's not really what i was expecting to do.

Can i enter a variable manually each time i run the script in my custom panel? For exemlpe if i want to add x exposures, i want to be able to choose the x each time i launch the button.

Nathan
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Delete exposure & Enter a value manualle

Post by NathanOtano »

Ok I found what i wanted for my second question, i just have to use tv_reqnum :)
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Delete exposure & Enter a value manualle

Post by Svengali »

NathanOtano wrote:Is there a function to remove an exposure of an instance? I can use tv_Layercut but that's not really what i was expecting to do.
Try tv_LayerCut which works on the current frame, current layer. Removes the current frame (exposures and finally the head) of the instance.

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Delete exposure & Enter a value manualle

Post by Mads Juul »

Svengali wrote: Try tv_LayerCut which works on the current frame, current layer. Removes the current frame (exposures and finally the head) of the instance.
Sven
It also works on current selection .Which you can set with
http://wiki.tvpaint.fr/index.php?title=Tv_LayerSelect
-Mads
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Delete exposure & Enter a value manualle

Post by NathanOtano »

Thanks! So that's what i found. Glad to know that's good also for selection.

The only thing is that you have the images in your clipboard then and so you lose your previous copy/cut but that's ok for me. I think it can be corrected by some other script but i don't really need it.
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Post Reply