Forum Replies Created

  • Thanks for the quick reply, Dan. I was testing the expression above on the source parameter of a text layer. But I just tried this expression on the path property of a shape layer (where it will end up), and am getting the error below:

    c=thisComp.layer(“BackgroundControls”).effect(“CropSelection”)(“Menu”);
    a=”Crop_0″+c;

    thisComp.layer(a).content(“Group 4”).content(“Path 1”).path

    Error: Bad Method Arguments: incorrect type for argument 1 (expected: ‘int’ provided: ‘NaN’)

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