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.
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?
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)
![]()
North America
Europe, Middle East and Africa
Asia Pacific