Observe track and chains for changes using javascript: Best way to implement?


    Feb 02 2014 | 10:16 pm
    Hi there,
    I'm looking at creating a list containing all the devices in a track and in the first chain of any racks along the way, then using callbacks to flag changes then re-test.
    I've come up against the liveAPI callbacks not being deleted when resetting the code. from what I've read there isn't a way of deleting them, but i will have to just take note of what ones I've dropped along the way as to not duplicate the liveAPI callbacks? is this correct?
    I've tried coding this in traditional max and got as far as the list but creating a bank of observers along the way was tricky, so switched to javascript for a bit more control. I'm having to learn javascript along the way so any pointers would be great!
    Thanks!
    Chris G.

    • Feb 03 2014 | 9:35 am
      Yes, it is correct that you have to manage these yourself
    • Feb 03 2014 | 10:33 am
      Ah, thanks Lee for the pointer,
      I'll create an array of used paths, then check against that before creating a new callback.
      Cheers
      Chris.
    • Feb 03 2014 | 12:04 pm
      yeah, it's a bit of a pain... i have an API to manage all of this stuff, but I haven't worked on it in a while due to other projects... I'll be coming back to it over the next few weeks as I integrate my other projects into Live...