Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions [Scripting] Is there any way to get only the properties available on timeline for selected layers?

  • [Scripting] Is there any way to get only the properties available on timeline for selected layers?

  • Adirai Maji

    May 6, 2020 at 2:18 pm

    Is there any way that I can get only properties with are available in timeline for selected Layer? I don’t want to collect the names of properties like Markers and other properties which aren’t available for user to see….

    Thanks in Advance…

    – Adirai Maji

  • Tomas Bumbulevičius

    May 16, 2020 at 1:49 pm

    Adirai – what in your opinion, determines which properties are not available? Thus, this is not exactly clear what you had in mind 🙂

    Find out more:
    Motion Graphics Design & After Effects Tutorials
    On YT
    On VH

  • Adirai Maji

    May 19, 2020 at 1:25 pm

    To understand what I’m asked above. This will explain better I guess..
    To be exact I write this code below.

    var project = app.project;
    var activeItem = project.activeItem;
    var firstSelectedLayer = activeItem.selectedLayers[0];

    var availableProperties = [];

    for (i=1; i<=firstSelectedLayer.numProperties; i++){

    If I run this code I’ll get properties available for newly created solid layer as below.

    ,Time Remap
    ,Motion Trackers
    ,Layer Styles
    ,Geometry Options
    ,Geometry Options
    ,Master Properties

    In this list TRANSFORM is the only property is visible in the timeline for the selected Solid layer. But It shows all the invisible properties for the solid. Same goes for text layer and other layers. I just want to list out the Transform property for this solid. Because it’s the only visible property on timeline. If the solid has mask it should also show Mask and Transform properties. I don’t want to check if the solid has mask or effects or markers for each time. Is there any simple method to do it???

    Thanks in Advance…

    – Adirai Maji

Viewing 1 - 3 of 3 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy