Skip to main content
Participating Frequently
July 4, 2024

no current context is displayed

  • July 4, 2024
  • 2 replies
  • 196 views

Hello, I have a question to consult, I use the mouse to select the key frame, I want to get the value of these key frames. I tried it myself, but it kept showing no current context. I wrote that in the first step I get the active item through AEGP_GetActiveItem, in the second step I get the type of the item through AEGP_GetItemType, and in the third step I get the composition through AEGP_GetCompFromItem. In step 4 I get the active layer through AEGP_GetActiveLayer. In the fifth step I get the location attribute stream through AEGP_GetNewLayerStream. In step 6 I get the number of keyframes by AEGP_GetStreamNumKFs, and in step 7 I get each keyframe by iterating >AEGP_GetNewKeyframeValue. But when I run in AE, when I use the mouse to select the keyframe execution code to get the value of the keyframe, it shows an error such as no current context.

2 replies

Participating Frequently
July 4, 2024

I would like to add that I am using the AE SDK for plugin development

Participating Frequently
July 4, 2024

我想补充一点,我正在使用 AE SDK 进行插件开发