Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

Changing Parameter keys outside of PF_Cmd_USER_CHANGED_PARAM

$
0
0

Is it possible to somehow change/add/delete keys on parameters outside the PF_Cmd_USER_CHANGED_PARAM function? Attempting to add keyframes etc. is always triggering this error:

U_Sev_WARNING After Effects warning: A plugin is attempting to do an invalid operation: modifying a locked project

( 1 :: 0 )

 

I understand why this happens (since we're only supposed to change parameters withing PF_Cmd_USER_CHANGED_PARAM), but in my case the plugin will fetch some info from external circumstances (other layers for example) and should react to it without user interaction. Unfortunately this requires animation keys

 

I found in the forums that AEGP_SetStreamValue supposedly works - any way to also get the KeyframeSuite to play ball?

 

I've also tried to call my changes during the PF_Cmd_EVENT, however those events are only triggered while the layer with the effect is the active one? Any chance to listen to global events while the layer is inactive?

 

Does a changing expression's value linked to a parameter count as a user change that would trigger the function?

 

Many questions, I know....


Viewing all articles
Browse latest Browse all 73444

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>