Forum Replies Created

  • greg humphrey

    March 29, 2024 at 3:33 pm in reply to: Disable a Composition Programmatically

    Dan is the best!

    It’s the “Comps as layers have layer eyeballs” I was referring to. What I didnt realize was programmatically I can call a comp as a layer and access the properties that way.

    Something like this works.

    var theComp = app.project.item(i)

    for(var k=1; k<=theComp.numLayers; k++) {

    var theLayer = theComp.layer(k)

    if(theLayer.name==”myCompAsALayer”) {

    theLayer.enabled=false;

    }

    }

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