top of page

GameAudio & Art

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,0,1)

retval,trackList,trackCount = AZ_GetTrackItemChildList(track)

Msg(trackCount)


for i, value in enumerate(trackList, 0):

    _,_,name,_ = AZ_GetTrackItemName(trackList[i],"",1024)

    Msg(name)

- SIMPLE SCRIPT -

retval,trackList,trackCount = AZ_GetTrackItemChildList(track)

- API -

TRACK

AZ_GetTrackItemChildList

指定トラックアイテムの子トラックアイテム配列出力

- API Detail -

▼入力値 

track(MediaTrack):トラックアイテム


▼出力値 

retval(boolean):API実行の成否 

trackList(table)(MediaTrack) : トラック配列

trackCount (integer) = トラックの数

bottom of page