top of page
- API -
depthNum = reaper.AZ_GetTrackIdDepth(projID,trackID)
- API Detail-
▼Input value
projID(ReaProjct): Project ID
trackID(integer): Track ID
▼Output value
retval(boolean): Success or failure of API execution
depth(integer): track depth
- SCRIPT -
package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"
require("reaper_AZSTOKE_SILVER")
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
depthNum = reaper.AZ_GetTrackIdDepth(0,2)
Msg(depthNum)
TRACK
AZ_GetTrackIdDepth
Supported versions:
1.0.3
onwards
Get the number of layers for the specified track ID
bottom of page