Skip to main content
Participating Frequently
August 26, 2014
Answered

How to change default/dephault value of PF_ParamDefs after PF_Cmd_PARAMS_SETUP?

  • August 26, 2014
  • 1 reply
  • 663 views

Hi,

I'm using the After Effects SDK with AE Transition Extensions to create transition effects for Premiere Pro.

I need a PF_Param_POINT which defaults to the center coordinates of the current sequence. The problem is that PF_Cmd_PARAMS_SETUP is only called once at startup and without any sequence information, so i can't set default/dephault values based on sequence resolution. I tried to change the default values during PF_Cmd_USER_CHANGED_PARAM and also set PF_ParamDef.uu.change_flags to PF_ChangeFlag_CHANGED_VALUE, but it didn't seem be accepted.

Am I missing something? Or does somebody know a better solution?

Regards,

Philipp

This topic has been closed for replies.
Correct answer shachar carmi

premier sin't my forte... but isn't a point param's default set in

percentage?

wouldn't {50,50} always be the centre?

1 reply

shachar carmiCommunity ExpertCorrect answer
Community Expert
August 26, 2014

premier sin't my forte... but isn't a point param's default set in

percentage?

wouldn't {50,50} always be the centre?

P_StelzerAuthor
Participating Frequently
August 26, 2014

Oh, indeed, you are right. Now that you mention it I'm confused how I could fail to notice that part. Even the SDK Guide mentions it. I think I should reread it more often.

Thanks a lot!

Regards,

Philipp

Community Expert
August 26, 2014

may all our problems be so easy to solve.