Any way to determine which clip_slots have clips?

    Jul 29 2010 | 10:17 am
    I am trying to figure out an efficient way to determine which clip_slots actually have clips in them without having to iterate through them. If iteration is the only way, how do I know how far to go? Is there a way to get the id of the last clipslot?

    • Aug 06 2010 | 1:52 pm
      this is how you do that:
    • Aug 06 2010 | 2:13 pm
      btw, there is some weird stuff in your patch. You shouldn't use the in this way, better use live.object and get
      here is how I would do the first part of your patch: