FORUMS: list search recent posts

layer name vs source name

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jeremy Paul
layer name vs source name
on Jan 27, 2017 at 6:51:31 pm

What is the difference between Layer Name and Source Name? You can see this 2 option in the Timeline panel.





Return to posts index

Walter Soyka
Re: layer name vs source name
on Jan 27, 2017 at 6:56:51 pm

The layer name reflects what something is called in the timeline panel; the source name reflects what that same thing is called in the project panel.

The layer name is initially the same as the source name. But when you rename a layer in the timeline panel, you are changing the layer name; the source name remains the same, referring to the name of the source item.

In practice, I use usually use layer names to be descriptive about what a layer does in the comp, and rely on the source name to tell me what asset the layer uses.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

Jeremy Paul
Re: layer name vs source name
on Jan 27, 2017 at 7:19:40 pm

Thanks. I am playing around with ExtendScript. My first obstacle was not knowing what the terms above denote. I am trying to access layer by its name. I use this code, which works if a layer hasn't been renamed yet.

var fl = app.project.item(2).layer("Blue");
var flDupl = fl.duplicate();


If I rename the "Blue" layer, tried both in Timeline and Project panel, to let's say "Blue2", then the code

var fl = app.project.item(2).layer("Blue2");
var flDupl = fl.duplicate();

triggers error saying 'null is not an object'.

Any idea what is going on?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]