Hi all,
I try to write a plug-in for After Effects using the 7.0r3 SDK. What I want to do is to un-hide two checkboxes in relation to internal plug-in status.
I do that with
AEGP_SetDynamicStreamFlag(temp_streamrefH, AEGP_DynStreamFlag_HIDDEN, FALSE, FALSE);
whereas temp_streamrefH is the UI-param to be un-hided.
If I do that on an adjustment layer (on which my effect is applied) two things occur.
1) The parameter is shown as expected in the effect control panel. This is exactly what I want!
2) The effect layer inside the Timeline panel is unfolded and shows there the un-hided checkboxes. This is what I don't want.
To get rid of effects from point 2 I tried to collapse the layer using
AEGP_SetLayerFlag(effect_layerH, AEGP_LayerFlag_COLLAPSE, TRUE));
called from within Render() but this has no effect.
Another approach was to get the current collection, select only the effect layer and set the effect layer collapse flag to TRUE. Again with no result.
As I've read in other threads it is possible to operate using a command but I dont't know the value for COLLAPSE. Could one please tell me the right number or give me a hint to solve my problem?
Thanks in advance