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....