Skip to main content
Known Participant
May 18, 2023
Question

How to hide paramtere PF_ADD_FLOAT_SLIDERX in after effect sdk in c++.

  • May 18, 2023
  • 1 reply
  • 2332 views

How to hide paramtere PF_ADD_FLOAT_SLIDERX in after effect sdk in c++. I'm hide using of ui_flags PF_PUI_INVISIBLE but got error. Atteched error screenshot below.

This topic has been closed for replies.

1 reply

Community Expert
May 18, 2023

can you post the code where you define the parameter?

Known Participant
May 18, 2023

Please see snippet code of ParamsSetup function and UpdateParamsUI function

Community Expert
May 18, 2023

nothing obvious comes to mund, except that you need to make a copy of the param definition, change the flag in the copy, and pass the copy to PF_UpdateParamUI.

quoting from the docs: "During PF_Cmd_UPDATE_PARAMS_UI, you may only change the appearance and enable state of parameters. Use PF_UpdateParamUI() from PF_ParamUtilSuite3 to update the UI, passing it a copy of the parameter you wish to modify. Do not attempt to modify the original"