top of page
- API -

depthList = reaper.AZ_GetTrackDepthList(projID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

▼Output value

  • retval(boolean): Success or failure of API execution

  • depthList(table)(integer) : Track hierarchy array

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


trackList = reaper.AZ_GetTrackDepthList(0)


for i, value in pairs(trackList) do

   Msg(trackList[i].Track)

   Msg(trackList[i].Depth)

end

TRACK

AZ_GetTrackDepthList

Supported versions:

1.0.0

onwards

Array output of all track hierarchies

bottom of page