Skip to main content
Inspiring
January 5, 2022
Answered

PF_Cmd_UPDATE_PARAMS_UI handling

  • January 5, 2022
  • 1 reply
  • 467 views

Dear AE fellows,

I have a small question.

I just realized that my plugin code (which is 90 percent ready) doesn't have the handling of  PF_Cmd_UPDATE_PARAMS_UI message in my MainEffect function.

Still my native AE UI parameters are seemingly handled alright and respond to changes.

 

Is PF_Cmd_UPDATE_PARAMS_UI  necessary or is it enough to simply have the handling of PF_Cmd_USER_CHANGED_PARAM?

 

Yaroslav.

Correct answer shachar carmi

PF_Cmd_USER_CHANGED_PARAM is called only on user interactions. PF_Cmd_UPDATE_PARAMS_UI is called at other times such as when a new instance of an effect is created or when an instance is loaded with a project.

if PF_Cmd_UPDATE_PARAMS_UI invocation times are not relevant to you, then there's no need to imeplement it.

1 reply

shachar carmiCommunity ExpertCorrect answer
Community Expert
January 5, 2022

PF_Cmd_USER_CHANGED_PARAM is called only on user interactions. PF_Cmd_UPDATE_PARAMS_UI is called at other times such as when a new instance of an effect is created or when an instance is loaded with a project.

if PF_Cmd_UPDATE_PARAMS_UI invocation times are not relevant to you, then there's no need to imeplement it.

Inspiring
January 5, 2022

Thanks, Shachar!

It is clear now!