Answered
Is it possible to differentiate between an adjustment layer and a precomp?
Hi. I saw from a previous post it's possible to determine a layer type using the following code:
| AEGP_LayerH layerH; | |
| ERR(suites.PFInterfaceSuite1()->AEGP_GetEffectLayer(in_data->effect_ref, &layerH)); //get the layer refference |
| AEGP_ObjectType layerType = NULL; | |
| ERR(suites.LayerSuite5()->AEGP_GetLayerObjectType(layerH, &layerType)); |
Unfortunately for me adjustment layers and precomps are both considered video layers. I need to determine exactly which type it is, is this possible? Thanks.