Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I hide an effect parameter?

Community Beginner ,
Jan 24, 2012 Jan 24, 2012

I have an effect with a couple deprecated parameters, and other effects with hidden parameters I set programmatically. I don't want the customer to be able to see them. Setting PF_PUI_NO_ECW_UI in the parameter's ui_flags removes it from the effect window, but not from the timeline window. Setting AEGP_DynStreamFlag_HIDDEN seems to do the trick, but I'm unclear as to when to set it. Currently I'm setting it during param update, but that doesn't appear to cover (for example) the case of opening an existing file.

Is there a well-known way of handling this? Thanks.

TOPICS
SDK
2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 24, 2012 Jan 24, 2012

set it during PF_Cmd_UPDATE_PARAMS_UI.

it should get called when a project loads and the effect is shown for the first time.

there are more brutal ways, but this really should work.

Translate
Community Expert ,
Jan 24, 2012 Jan 24, 2012

set it during PF_Cmd_UPDATE_PARAMS_UI.

it should get called when a project loads and the effect is shown for the first time.

there are more brutal ways, but this really should work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 25, 2012 Jan 25, 2012

that worked like a charm! thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 05, 2012 Mar 05, 2012

I'm having more trouble with this. I'm setting the hidden flag during UPDATE_PARAMS_UI. For most properties this seems fine, but under certain circumstances for arbitrary parameters, the owner-drawn portion of the effect is still there. While handling the draw event I can check whether the stream is hidden (and it is) and not draw anything, but the space is still there for it.

Near as I can tell it, it works correctly when we load the project from disk, but if we apply the effect anew, even though the hide code is being run, it the owner-draw portion effect is there. Any ideas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2012 Mar 06, 2012

i know this problem, but sadly i have no solution for it.

it's a bug in AE, who's behavior changes between AE versions.

if you duplicate your effect, or a layer with your effect on it, then the

new instance will have that problem.

if you duplicate that new instance again, then the new new instance will be

ok.

sorry. nothing else i can help with on this one. (besides referring you to

email zac lam)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 06, 2012 Mar 06, 2012

thanks for the info.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 13, 2025 Oct 13, 2025
LATEST

I'm reviving old threads as I enconter the same issues already reported 🙂

I got into this issue some time ago as well. I know it's 2025, but the bug is still there in the latest AE.

What I do here is to set AEGP_DynStreamFlag_HIDDEN 2 times, the first time the inverse of what I need, and then the correct value. This seem to work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines