Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Retain Layer Sizes script

  • Retain Layer Sizes script

    Posted by Jace Bradley on March 22, 2023 at 9:43 pm

    I’m trying to create a script that opens up illustrator files. But the imported layers have comp size. I used this :

    // Import options var importOptions = new ImportOptions(file); importOptions.importAs = ImportAsType.COMP;. Any help ?

    Brie Clayton replied 1 year ago 3 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    March 22, 2023 at 11:43 pm

    Did you try:

    ImportAsType.COMP_CROPPED_LAYERS;
  • Jace Bradley

    March 23, 2023 at 12:13 am

    Oh man, you are a total genius. That worked

  • Jace Bradley

    March 23, 2023 at 12:14 am

    Thank you very much.

  • Brie Clayton

    March 23, 2023 at 1:32 am

    Dan Ebberts

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