1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Solved Make zone ids consecutive again

Discussion in 'Scripting Workshop' started by mindblower23!, Aug 26, 2021.

  1. mindblower23!

    mindblower23! NI Product Owner

    Messages:
    40
    Hi!

    Is there a way to tidy up all zone ids after deleting and adding some zones? After manipulating the instrument for some time the zone ids get cluttered. I want to store some values per zone id in an array and it would make things more streamlined when I could use the zone ids as indexes in a consecutive order ...

    Many thanks in advance for help!
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Yes. Select all groups, copy them. Then delete all groups and zones in there. Then add an effect somewhere, then undo. Then paste your groups back in. Zone IDs get renumbered.
     
  3. mindblower23!

    mindblower23! NI Product Owner

    Messages:
    40
    Thanks again for your help EvilDragon - it works! :)