TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

Hi all,

This custom panel evolved out of a discussion happening over here: viewtopic.php?f=34&t=11097

The panel can be used to store your most commonly used tools for quick access. In addition to loading a tool, each button can also automatically chose a specific layer. This can be very useful for constantly switching between a sketch layer and a paint layer, or from a storyboard panel layer to a note layer to name a couple of examples. The tool and layer can be switched simultaneously with a single click or better yet - a keystroke or wacom button (if you assign shortcuts to the tool buttons).

Questions and feedback welcome!
Enjoy

David
Attachments
TOOLSXLAYERS.tvpx
v1.1 released Jan 29 2018.
Recent Changes
-Better at reconnecting layers to tools between sessions, layer merges, etc.
-Less clutter in Embedded George Scripts, relies on stored scripts instead
-New Icons.
(852 KiB) Downloaded 384 times
Last edited by spyderheart on 29 Jan 2018, 22:39, edited 1 time in total.
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Svengali »

Hi David,
Interesting experiment... I'm also very interested in your clever :?: (help) file, too, using the tv_GetString command, a very innovative solution for online documentation. I'm going to try a few of my own experiments with it for some things I'm working on. Thanks for showing the way. 8)

BTW, after I found that the \n line-wrap is available for insertion in various commands, I started adding multi-line Comments to some of my buttons - a very useful way to include roll-over instructions and info right inside the Button/Script tool! :idea:

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
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

Thanks Sven,
I really just needed a way for users to copy/paste some text - which you can't do with tv_warn. Of course having everything aligned to the left is a nice perk too ;)
D
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Sewie »

This is a great idea that is going to be very helpful. Thanks for sharing, David!
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

This is a great idea that is going to be very helpful. Thanks for sharing, David!
Thanks Sewie! Glad you like it.
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

FYI everybody: I'll be updating it at some point so let me know what it needs.

You may notice that the target layer setting is not remembered from session to session. Fixing this is a priority for the next release but luckily it's super quick to re-assign the layer on the fly so it shouldn't slow anyone down much :)
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
User avatar
daninski
Posts: 289
Joined: 01 Oct 2015, 12:13
Location: Budapest/Newport
Contact:

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by daninski »

I like the sound of this! So I can set new animation layers to always use a blue pencil, new clean up layers to always use black pencil, and new colour layers to always be a watercolour?

I'll have a good look at this before my next job.
http://www.daninski.com
Award winning director with an iMac from about 2013 and a cintiq from about 2009, there's some RAM too.
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

I like the sound of this! So I can set new animation layers to always use a blue pencil, new clean up layers to always use black pencil, and new colour layers to always be a watercolour?
Similar but, not quite. You set it up so that whenever you select the blue pencil, it chooses an animation layer. Furthemore, you have to tell it exactly which layer. Each tool can have a different layer connection for each clip.

What your suggesting is the inverse - to select the layer and automatically switch the tool. That's also a great idea but I think a lot harder to achieve with scripting. Not impossible but not what the script currently does.

Play around with it though. I think you'll find that for practical purposes it comes close to (i.e it will save you as much time as...) the way you're thinking of it.
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

TOOLS X LAYERS version 1.1 is up!
Download from the original post at the top!

Recent Changes:
-Better at reconnecting layers to tools between sessions, layer merges, etc.
-Less clutter in Embedded George Scripts, relies on stored scripts instead
-New Icons.
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Elodie »

That's a great, great tool ! Thank you for sharing !
User avatar
Animationriver
Posts: 258
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Animationriver »

Elodie wrote: 30 Jan 2018, 07:25 That's a great, great tool ! Thank you for sharing !
Cool! Great tool! Now Elodie :D can do cool iterations with this tool! Probably I can already expect a new small video on this topic!)) How to use this tool X layers? )) :D

Big Thaks for spyderheart! :D
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by spyderheart »

Elodie wrote: 30 Jan 2018, 07:25 That's a great, great tool ! Thank you for sharing !
Thanks Elodie!
There are a couple of George requests that could make it even better :D
http://forum.tvpaint.com/viewtopic.php?f=34&t=11097
http://forum.tvpaint.com/viewtopic.php?f=34&t=11204
Animationriver wrote: 30 Jan 2018, 13:12
Elodie wrote: 30 Jan 2018, 07:25 That's a great, great tool ! Thank you for sharing !
Cool! Great tool! Now Elodie :D can do cool iterations with this tool! Probably I can already expect a new small video on this topic!)) How to use this tool X layers? )) :D

Big Thaks for spyderheart! :D
Thank you! I've tried my best to to make the tool self-explanatory but you are absolutely right that a quick video always helps. It's on my to do list.
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Cardin
Posts: 134
Joined: 06 Sep 2010, 17:59

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Cardin »

Looking forward to trying this out. This seems like it will be very helpful. Thank you for sharing.
TVPaint 12.0.0 Pro
System - CPU: i9-13900K, RAM: 128GB, GPU: Intel Arc A770 16GB, OS: Win 11 Pro 23H2 Build 22631.3447
Wacom Cintiq 4K (Driver 6.4.6-1 April 23, 2024)
User avatar
Lise
Posts: 785
Joined: 10 Dec 2015, 19:41

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Lise »

I made a quick video for the Japanese forum. I post it here too.

I recorded in a hurry so it is not "top-quality" but I hope it will be useful to apprehend the tool.
toolstolayer.mov
(22.19 MiB) Downloaded 465 times
User avatar
Animationriver
Posts: 258
Joined: 02 Jul 2017, 09:04
Location: Moscow
Contact:

Re: TOOLS X LAYERS - Assign a layer to a tool and switch both with one click.

Post by Animationriver »

Lise wrote: 31 Jan 2018, 08:30 I made a quick video for the Japanese forum. I post it here too.

I recorded in a hurry so it is not "top-quality" but I hope it will be useful to apprehend the tool.

toolstolayer.mov
Thank you for the video.
But...
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
Post Reply