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)


- SIMPLE SCRIPT -

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

- API -

対応バージョン:

1.0.0

以降

TRACK

AZ_GetTrackItemDepth

指定トラックアイテムの階層数を取得

- API Detail -

▼入力値

  • track(mediaTrack):指定したトラックID

  • depthOut:「0」を入力しておく※out用の箱

▼出力値

  • retval(bool):APIの実行成功の有無

  • track(MediaTrack):トラックID

  • depthOut(integer):トラック階層

bottom of page