Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

How to use collection suite for selection?

$
0
0

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


Viewing all articles
Browse latest Browse all 73444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>