Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Add Card Dance Effect In Script

  • Add Card Dance Effect In Script

    Posted by Geoff Rights on May 4, 2016 at 2:55 pm

    My apologies if this has been asked before but I can’t seem to find any good information about my topic.

    I am writing a command line script that pulls in a layer and adds a card dance effect to the created layer. I am able to pull in the layer but I can’t seem to find any information on how to apply the ‘Card Dance’ effect in a jsx script. I have found the function applyPreset(presetName) but I cant seem to find documentation on any of the presetNames you can pass in.

    Any links or basic examples would be much appreciated.

    Thanks

    Walter Soyka replied 10 years, 3 months ago 2 Members · 3 Replies
  • 3 Replies
  • Walter Soyka

    May 5, 2016 at 1:56 pm

    Assuming you have an object named “layer”, this code will add Card Dance to it:

    layer.property("ADBE Effect Parade").addProperty("APC CardDanceCam");

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Geoff Rights

    May 10, 2016 at 4:29 pm

    Thanks Walter,

    Follow up question…I was able to access some of the properties of the card dance such as (rows / columns / gradient layers) but I am unable to access others such as the effects (Z Position – Source, Multiplier, Offset / Z Rotation – Source, Multiplier, Offset). Would you happen to know how to access those properties?

  • Walter Soyka

    May 10, 2016 at 8:12 pm

    layer.property("Effects").property("Card Dance").property("Offset")

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

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