top of page


GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_BRONZE_python import *

def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")

retval,_,_,_,allCount,_ = AZ_GetSelectedTrackMediaTypeCount(0,1,"",0,0)



retval,projID,selectTrackID,mediaType,allCountOut,typeCountOut = AZ_GetSelectedTrackMediaTypeCount(projID,selectTrackID)mediaType,allCountOut,typeCountOut)

- API -



Count of all media in the selected track (including the number of selected formats)

- API Detail-

▼Input value

  • proj (integer): Project ID

  • selectTrackID(integer) : Select track ID

  • mediaType(char): Type name ("WAV", "MP4", "MP3", etc.)

  • *If you leave the mediaType anonymous, all will be included.

  • allCountOut(integer): Enter 0. *Box for out

  • typeCountOut(integer): Enter 0. *Box for out

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • proj (int):Project ID

  • selectTrackID(int) : Selected track ID

  • mediaType(Str): Type name ("WAV", "MP4", "MP3", etc.)

  • allCountOut(integer): The number of media in the specified project

  • typeCountOut(integer): Number of media of the specified format

bottom of page