Skip navigation
Currently Being Moderated

Live Update - how to know if its on?

Aug 24, 2011 9:53 AM

Has anyone ever required to find out if current render call is during live update or not?

 

I would have imagined that it should be available at AEGP_GetCompFlags(), but its not!


In such case a smaller size image is usually passed to the render, but for small enough layer/comp sizes (e.g. 700x500) AfterFX thinks you are good off with such a size, and most importantly you cannot tell if Live Update button is pressed!

 

 

greets

mike

 
Replies
  • Currently Being Moderated
    Sep 29, 2011 1:21 PM   in reply to Mike Basil

    Hi Mike,

     

    Here's the answer I got back from the team:

    It may be readable via the AEGP Persistent Data Suite, since it's stored in a pref:

     

    "Realtime Update Preference Section"

    "Use Modifier Key To Enable"

     

    Here is the scripting version.

     

    get state

    app.preferences.getPrefAsBool("Realtime Update Preference Section", "Use Modifier Key To Enable");

     

    set state

    app.preferences.savePrefAsBool("Realtime Update Preference Section", "Use Modifier Key To Enable", <new_state_bool>);

    app.preferences.saveToDisk();

     

    Cheers,

     

    Zac

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2011 1:39 AM   in reply to Zac Lam

    thanks zac!

    that resolve a long standing issue! (it's been asked before)

    consider adding some info about that to the c++ API and scripting documentation.

    there's no clue there as to what else is in the persistent data and how to access it.

     

    again, thanks for the info!

    :-)

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2011 12:16 PM   in reply to shachar carmi

    Glad that helped!  Sure, I've added it to the folder of things to document for the next SDK Guide.

     

    Zac

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points