Update Layer status using color-codes in George

A forum dedicated to George scripting questions
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Update Layer status using color-codes in George

Post by Svengali »

Is there any way in George to read or to set the color-code for an individual layer?

It would also be useful to be able to set/unset visibility for a set of layers with a given color-code using George, too.

Sven
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Update Layer status using color-codes in George

Post by ZigOtto »

Svengali wrote:Is there any way in George to read or to set the color-code for an individual layer?
afaik, not yet.
Svengali wrote:It would also be useful to be able to set/unset visibility for a set of layers with a given color-code using George, too.
agreed. 8)
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Update Layer status using color-codes in George

Post by Elodie »

ZigOtto wrote:
Svengali wrote:It would also be useful to be able to set/unset visibility for a set of layers with a given color-code using George, too.
agreed. 8)
Asked yet to Hervé.. so I agree a lot with you :D
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Update Layer status using color-codes in George

Post by Svengali »

Thank you Elodie :)

Color-coding layers is useful to the artist but I wonder if the check-mark toggles might not be better as ordinal numbers which toggle on and off (numbers for use in George) - just a thought.

(edit: on second thought, numbers won't work as there are more than 10 color boxes... d'oh)

Sven
Last edited by Svengali on 24 Aug 2009, 15:27, edited 1 time in total.
User avatar
Paul Fierlinger
Posts: 8100
Joined: 03 May 2008, 12:05
Location: Pennsylvania USA
Contact:

Re: Update Layer status using color-codes in George

Post by Paul Fierlinger »

BTW I would like seeing this improvement go even further. It happens so often that I need to lock all (or some) of the hidden layers and I would love being able to do that without having to bring them all back into vision and manually locking them -- then hiding them again.
Paul
http://www.slocumfilm.com
Desktop PC Win10-Pro -64 bit OS; 32.0 GB RAM
Processor: i7-2600 CPU@3.40GHz
AMD FirePro V7900; Intuos4 Wacom tablet
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Update Layer status using color-codes in George

Post by ematecki »

Svengali wrote:It would also be useful to be able to set/unset visibility for a set of layers with a given color-code using George, too.
There are two kinds of visibility here :
- in the display.
- in the timeline.
Both are useful, but how to differentiate them ?

I suggest :
tv_layercolor get id
tv_layercolor set id color (0, 1->12)
tv_layercolor lock color
tv_layercolor unlock color
tv_layercolor show color // which visibility ?
tv_layercolor hide color // which visibility ?
and how should I name the other two hide/show ?
Quicktime is DEAD. Get over it and move on !
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Update Layer status using color-codes in George

Post by ematecki »

Paul Fierlinger wrote:BTW I would like seeing this improvement go even further. It happens so often that I need to lock all (or some) of the hidden layers and I would love being able to do that without having to bring them all back into vision and manually locking them -- then hiding them again.
Hidden in the project or in the timeline ?
When only some layers are involved, based on which criteria ?
Quicktime is DEAD. Get over it and move on !
User avatar
Paul Fierlinger
Posts: 8100
Joined: 03 May 2008, 12:05
Location: Pennsylvania USA
Contact:

Re: Update Layer status using color-codes in George

Post by Paul Fierlinger »

Hidden in the timeline -- the way we can hide layers by color. We could have a RMB menu attached to each of the colors in which we could select Lock, OFF, ON and maybe something else I can't think of right now.
Paul
http://www.slocumfilm.com
Desktop PC Win10-Pro -64 bit OS; 32.0 GB RAM
Processor: i7-2600 CPU@3.40GHz
AMD FirePro V7900; Intuos4 Wacom tablet
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Update Layer status using color-codes in George

Post by Svengali »

Eric,

Are you considering adding something new in George, in addition to Timeline visibility (show/hide) for layers assigned to a single color-group?

In my suggestion above I was only asking about George being able to show/hide color-grouped Timeline layers... but also having George be able to show/hide the actual color-grouped Display layers would be VERY useful I think.


If that is what you are considering, couldn't you just use the same terms as in your question?

tv_layercolor show Timeline color
tv_layercolor hide Timeline color

tv_layercolor show Display color
tv_layercolor hide Display color



As to Paul's enhancement, I'm not sure how to further differentiate a sub-set within a color-grouped set of layers... Maybe he just needs to use two adjoining colors groups for that.

As far as I know, the current version of TVP9 Pro doesn't include any kind of INTERFACE options to hide or show the DISPLAY layers assigned to a COLOR-GROUPED SET, even if their Timelines are visible.

Perhaps the color boxes might be easily enhanced with RMB check menu (something like Paul suggests) to include:

Timeline (check/uncheck)
Display (check/uncheck)
Lock (check/uncheck)


...or some such thing.

Sven
User avatar
Paul Fierlinger
Posts: 8100
Joined: 03 May 2008, 12:05
Location: Pennsylvania USA
Contact:

Re: Update Layer status using color-codes in George

Post by Paul Fierlinger »

Perhaps the color boxes might be easily enhanced with RMB check menu (something like Paul suggests) to include:

Timeline (check/uncheck)
Display (check/uncheck)
Lock (check/uncheck)

...or some such thing.

Sven
Even Beter!
Paul
http://www.slocumfilm.com
Desktop PC Win10-Pro -64 bit OS; 32.0 GB RAM
Processor: i7-2600 CPU@3.40GHz
AMD FirePro V7900; Intuos4 Wacom tablet
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Update Layer status using color-codes in George

Post by ematecki »

Paul Fierlinger wrote:
Perhaps the color boxes might be easily enhanced with RMB check menu (something like Paul suggests) to include:

Timeline (check/uncheck)
Display (check/uncheck)
Lock (check/uncheck)

...or some such thing.

Sven
Even Beter!
That's what I have done :)
Quicktime is DEAD. Get over it and move on !
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Update Layer status using color-codes in George

Post by ematecki »

Svengali wrote: If that is what you are considering, couldn't you just use the same terms as in your question?

tv_layercolor show Timeline color
tv_layercolor hide Timeline color

tv_layercolor show Display color
tv_layercolor hide Display color

Sven
Let's go for this...
Quicktime is DEAD. Get over it and move on !
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Update Layer status using color-codes in George

Post by ZigOtto »

super ! :D
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Update Layer status using color-codes in George

Post by ematecki »

Done.
Quicktime is DEAD. Get over it and move on !
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Update Layer status using color-codes in George

Post by ZigOtto »

cool! ... and quick served ...! :D

now that the big half of the job has been done, why not to achieve it by adding some more commands :
- Show Selected Layers Only = show selected layers, hide all others,
- Toggle Previous Display = toggle previous/last visibility state,
f.i., I have 5 layers, V V V H H (V for Visible, H for Hidden),
the 2 first layers are colored Red, my current layer being the first one,
I hit [Select the Layers of this Color]+[Show Selected Layers Only] to get V V H H H ,
I hit [Toggle Previous Display] to go back to V V V H H ,
- Invert Visibility = Switch the Hidden Layers to Visible, and the Visible layers to Hidden,
ex: V V V H H will become H H H V V
maybe too much for a v9.5 FREE update ...! :mrgreen: 8)
Post Reply