Skip to main content
Inspiring
Apr 22, 2021 1:23 PM UTC
Answered

layer.name is not working in AE CC2021

Hey there!

Try to move some of my scripts to the CEP but the simplest things won't work.

 

Why is that not working anymore?

 

var activeComp = app.project.activeItem;
var workLayer = activeComp.selectedLayers[0];
workLayer.name="Hans";

 

Thanks for help!

Michael

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Der KraftCorrect answer
    Inspiring
    Apr 22, 2021 1:41 PM UTC

    Found it:

    After a fresh Installation the CompWindow showed the SourceName and not theLayerName.

    Solved! 😉 

    1 reply

    Der KraftAuthorCorrect answer
    Inspiring
    Apr 22, 2021 1:41 PM UTC

    Found it:

    After a fresh Installation the CompWindow showed the SourceName and not theLayerName.

    Solved! 😉 

    Translate