top of page
import sys
sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")
from AZSTOKE_SILVER_python import *
def Msg(parm):
RPR_ShowConsoleMsg(str(parm) + "\n")
track = AZ_GetTrackItemSelect(0,1,0)
depth= AZ_GetTrackItemDepth(track)
Msg(depth)
track = AZ_GetTrackItemSelect(0,5,0)
depth= AZ_GetTrackItemDepth(track)
Msg(depth)
- SCRIPT -
depth = AZ_GetTrackItemDepth(track)
- API -
対応バージョン:
1.0.0
以降
TRACK
AZ_GetTrackItemDepth
Get the number of levels of the specified track item
LUA
- API Detail-
▼Input value
track(mediaTrack) – The specified track ID
depthOut: Enter 0. *Box for out
▼Output value
retval(bool): Whether the API execution was successful or not
track(MediaTrack): Track ID
depthOut(integer): Track depth
bottom of page