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)

retval,mediaT,depth= AZ_GetTrackItemDepth(track,0)

Msg(depth)


track = AZ_GetTrackItemSelect(0,5,0)

retval,mediaTrack,depth= AZ_GetTrackItemDepth(track,0)

Msg(depth)


- SCRIPT -

retval,track,depthOut = AZ_GetTrackItemDepth(track,depthOut)

- API -

対応バージョン:

1.0.0

以降

TRACK

AZ_GetTrackItemDepth

Get the number of levels of the specified track item

- 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