Forum Replies Created

Page 12 of 1278
  • The layer space transform returns a point, not a property — so value and valueAtTime() have no meaning.

    However, toComp() accepts a second, optional parameter for time.

    Try this:

    target = thisComp.layer("Target");
    value + target.toComp(target.anchorPoint) - target.toComp(target.anchorPoint, 0);
  • Walter Soyka

    January 30, 2023 at 10:00 pm in reply to: How to close a composition via script

    Chris linked to the solution. Calling the “Close” menu command works on whatever the active panel in the UI is. You have to call .openInViewer() first to make sure the comp’s viewer panel has focus, otherwise the menu command call might close something else.

  • Walter Soyka

    January 30, 2023 at 9:42 pm in reply to: Scripting : How to use setSettings on OutputModule

    Resize doesn’t use “Width” and “Height” attributes. Instead, it uses a “Resize to” object with x and y attributes.

    Try this:

    var resize_data = {"Resize":true, "Resize to":{x:200, y:200}};
  • Walter Soyka

    January 24, 2023 at 7:16 pm in reply to: Any way to replace a layer's solid source ?

    Dan has mentioned how to swap sources inside a comp, but you can also do this across the entire project in the Project panel. Select the item/solid that you want to keep, hold Alt, and drag it onto the item/solid that you want to be replaced. Every instance of the second item throughout the entire project will be replaced with the first.

  • Can you post a sample CSV/EDL that you’re using?

  • Walter Soyka

    January 11, 2023 at 5:46 pm in reply to: Collect Project via AErender.exe?

    I don’t think there’s a command line option to collect files, and there’s no scripting interface for Collect Files, either.

    There are two options I can think of that are close to what you want to do if you’re willing to do some scripting.

    1. Write your own “collect files” logic in a script (identify assets, copy them to a location, reconnect each item to the new footage location), and call it from a separate instance of AfterFX.exe from the command line.

    2. Save your AEPs as XML, and write a script or tool to parse the AEPX file for paths, copy files to new location, and update the XML with the new paths.

  • Walter Soyka

    January 10, 2023 at 8:33 pm in reply to: update all label colors

    As Dan said, scripts can’t access render queue item labels, and this does strike me as a curious omission. I’ll put in a feature request.

  • Walter Soyka

    January 5, 2023 at 3:25 pm in reply to: Work Area Shift

    Your script should work fine. This is a bug. I suggest you report the bug and write a work-around function to repeatedly attempt setting the workAreaStart and checking for success. (Looks to me like it works on the second attempt.)

  • If you change the parameters that don’t correctly affect the shadow (with Classic Renderer), then Edit > Purge > All Memory and Disk Cache, do the shadows re-render correctly?

  • Walter Soyka

    January 4, 2023 at 8:41 pm in reply to: Import timer into premiere Pro

    When you import an AEP into Premiere, it asks you what COMPS you want to import, not what layers. (You can also just drag and drop a comp from Ae’s project panel into Premiere’s).

    If you’re seeing something different, maybe you can post a screenshot so we can help diagnose?

Page 12 of 1278

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