Hi,
I have created a collection of items I need to select. So what I need to do for selecting the collection which I created?
Code :
AEGP_Collection2H collectionH = NULL;
AEGP_CollectionItemV2 collectionItem;
AEGP_StreamRefH streamH;
ERR(suites.DynamicStreamSuite4()->AEGP_GetNewStreamRefForLayer(S_Plugin_ID, layerH, &streamH));
collectionItem.type = AEGP_CollectionItemType_LAYER;
collectionItem.u.layer.layerH = layerH;
collectionItem.stream_refH = streamH;
ERR(suites.CollectionSuite2()->AEGP_NewCollection(S_Plugin_ID, &collectionH));
ERR(suites.CollectionSuite2()->AEGP_CollectionPushBack(collectionH, &collectionItem));
Any suggestions?
Thanks,
Dheeraj