Page 1 of 1

a layer count

Posted: 23 Jul 2013, 15:53
by Peter Wassink
a layer count.

anything that lets me see the number of layers in a project / the selected number of layers.
don't mind where you put it, in the project info or in the top of the layer bar.

Re: a layer count

Posted: 23 Jul 2013, 16:56
by Paul Fierlinger
I would go a step further; I'd like to see the layers numbered in consecutive order which would make for easier communications as in:"It's layer number 26!" instead of having to yell: "It's layer Boyinueat!"

Re: a layer count

Posted: 28 Jul 2013, 10:56
by Joost
anything that lets me see the number of layers in a project / the selected number of layers.
+1

Re: a layer count

Posted: 28 Jul 2013, 11:40
by slowtiger
I second that, and ask for an additional change:
instead of naming layers as "Untitled 1" and so on, just assign them a number. That "Untitled" may be reasonable for files, but not inside a file.

Re: a layer count

Posted: 29 Jul 2013, 07:00
by Elodie
But the aim here is to have a layer count in addition of the name, isn't it ?

Peter, IYO, how would the layer count work ? Would each layer have a unique name ? What if you change their order ? What if you copy past a layer from a different project ?

Re: a layer count

Posted: 30 Jul 2013, 15:51
by ZigOtto
Peter Wassink wrote:a layer count.

anything that lets me see the number of layers in a project / the selected number of layers.
...
for the time being, such a tool could be scripted with no big trouble I think,
- if no selection, the script counting all existing (or onlly "visible" as option) layers of the clip, and return the total number,
- if a selection of layers, counting only the selected layers and return the number.
... script assignable to a hotkey, naturlich. :)

Re: a layer count

Posted: 30 Jul 2013, 17:36
by Svengali
Most users don't know that each layer, as it is created for a specific project, is assigned a unique identifier number (not visible, but accessible with the George command: tv_LayerGetID position explained in the TVPaintWiki, HERE or the tv_LayerCurrentID explained HERE.

So, a layer's position (which can change within a project) is different from its identifier (which remains the same within the project).

Even when the layer's position is moved up or down the stack of layers, the unique identifier can be used to reference, find or select that layer, wherever it goes.

When a layer is killed, the identifier is permanently retired for that project. When a new layer is created, a new, unique identifier is generated and stays with that new layer for the life of that layer in that project.

These numbers are totally accessible via George commands plus much more layer parameter-status information as well, for each layer.

What's needed is some kind of popup spreadsheet "abstract" which could give the user various statistical views of the layers states and that could assist in assigning and organizing associations and identities like the color groups, naming of layers, tracking numbers, various states of the layers (visible, selected, locked, etc.) and which would let you coordinate linkage between the timeline info and the actual stack of image layers. (Thanks to paul for this insight and some scripting ideas!)

Right now, all that info is there, but the user more or less has to keep it in his head since most of it is off-screen, in hidden parts above or below the visible strip of layers in the timeline or encoded in the tiny icon check boxes of the heading of each layer.

Sven

Re: a layer count

Posted: 02 Aug 2013, 19:23
by Svengali
Svengali wrote:So, a layer's position (which can change within a project) is different from its identifier (which remains the same within the project).

Even when the layer's position is moved up or down the stack of layers, the unique identifier can be used to reference, find or select that layer, wherever it goes.

When a layer is killed, the identifier is permanently retired for that project. When a new layer is created, a new, unique identifier is generated and stays with that new layer for the life of that layer in that project.

These numbers are totally accessible via George commands plus much more layer parameter-status information as well, for each layer.
I'm not sure if layer identifier numbers are really an issue for any other users, but after looking at the nature of identifier numbers again, I felt I should clarify my comments to say that the identifier for each layer is permanently assigned to that layer ONLY for the current session with the project.

Once the project is closed and reopened at a later time, a new set of identifiers are assigned to the layers (which are usually different from the original identifiers) and those remain permanent with the layer (even if the layer is moved up or down in the stack order) but only as long as the project is being worked on for that session. Next time the project is opened, another new set of identifiers is created.

I think the whole purpose for layer identifiers is to let the program keep track of each layer for each project currently in memory for for various operations... like when the track in one project is used as a source for some FX in another, or cut and paste operations between projects (and I guess clips) and so on.

Hope someone finds this helpful.

Sven

Re: a layer count

Posted: 02 Aug 2013, 19:45
by Paul Fierlinger
I never thought of layer numbering as anything else than an identifier of the layer stack regardless of which layer sits on that number at any time of any session. When you have so many layers to work with and you can orient yourself by a glance at the numbers and see that you are somewhere in the middle of the stack, that is a lot of practical information.

It's like being plopped down by a taxi, or up from a subway,in the middle of Manhattan, all you need is a peek at the number of the street you are on to become oriented, no matter which buildings stood there the last time you were in that local and have been replaced by newer ones. The consistently numbered layers together with the numbered frames would form a dependable visual navigation grill and that would mean a lot for the two of us here.

On the other hand, names of layers are disorienting anyway so let those change. In Philadelphia, you have about ten parallel lanes named after trees, which is hopeless because it takes years before you can remember which tree comes after Pine street when you are walking west.

Re: a layer count

Posted: 02 Aug 2013, 20:46
by Svengali
Hi paul,

Have a look HERE to see what I've come up with that might prove useful. 8)

Actually, I see now what you are wanting, you want the actual layers themselves to have ordinal numbering. It should be easy to add...

I could also see a little script being able to non-destructively introduce (and then update) prefix numbers to the layer titles with the click of a button. Hmm.

Sven

Re: a layer count

Posted: 25 Aug 2013, 20:25
by Peter Wassink
Elodie wrote:But the aim here is to have a layer count in addition of the name, isn't it ?

Peter, IYO, how would the layer count work ? Would each layer have a unique name ? What if you change their order ? What if you copy past a layer from a different project ?
i'm afraid you misunderstood my request.

i was only asking for a way to know the total number of layers, the ammount of flayers in the project.
just like we already have the information on the ammount of frames in the project
and to have this information visible somewhere.
thats all.

maybe a numbering of the layers would be usefull too, but as you see from this discusion it could be tricky to implement

Re: a layer count

Posted: 26 Aug 2013, 05:55
by Elodie
In fact, I did understand your need, but as other persons were thinking about something more complicated... :roll:

So, ok, just a total amount of layers, ok !

Re: a layer count

Posted: 26 Aug 2013, 16:30
by Svengali
What about the infobar? There is plenty of room there for another permanent segment that might always show current-layer/total-layercount for the active project?

Sven