Preserving folder depths when inserting/deleting tracks
Hi there,
I am having an issue when inserting a group of tracks into a project via script. If I insert something like a folder track with some subtracks, the folder depth of the tracks after the newly-inserted tracks won't always preserve. I've tried things like grabbing the parent track GUID of the next track pre-insertion, and resetting it afterward, but it doesn't seem to be consistent.
Basically what I'm asking is, does anyone know of a method to insert a group of tracks while still preserving every other track's parent?
|