Creating a new Sony.Vegas.BaseList?

Teetow wrote on 9/10/2006, 12:53 PM
Hi!

I'm simultaneously getting aquianted with JScript and the Vegas SDK, and while I've become rather comfortable with using IEnumerators and the like, I've run into a few problems. Here's one:

Can I, and how do I, create a new Vegas.BaseList?

I wish to loop through all events in a project, and bunch them up according to certain criteria - in this case, whether or not they intersect a region. I wish to come out the other side with an array of BaseLists, that I can then use to set boundaries and label for regions.

I've tried using groups, but if a bunch contains only one event, no group is created.

How do I do this?