top of page

AZSTOKE/ALGAZODIK

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)

- SCRIPT -

retval,trackList,trackCount = AZ_GetTrackItemChildList(track)

- API -

ID

TRACK

AZ_GetTrackItemChildList

Outputs an array of child track items for the specified track item

- API Detail-

▼Input value

track(MediaTrack): track item


▼Output value

retval(boolean): Success or failure of API execution

trackList(table)(MediaTrack) : Track array

trackCount (integer) = number of tracks

bottom of page