top of page

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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

    


retval,_,_,allCount,typeCount = AZ_GetSelectedMediaTypeCount(0,"WAV",0,0)

Msg(allCount)

Msg(typeCount)

- SCRIPT -

retval,_,_,allCount,typeCount = AZ_GetSelectedMediaTypeCount(projID,MediaTypeName,outAllCount,outTypeCount)

- API -

対応バージョン:

以降

MEDIA

AZ_GetSelectedMediaTypeCount

Number of all selected media (including format specifications)

- API Detail-

▼Input value

  • projID (integer): Project ID

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

  • *If mediaType is set to anonymous, it will be all.

  • outAllCount(integer): Enter "0" *box for out

  • outTypeCount(integer): Enter "0" *box for out

▼Output value

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

  • _(integer): Ignore this as it is the output of the input value projID

  • _(char): Ignore because it is the output of the input value string

  • allMediaCount(integer): Number of all media in the specified project

  • typeMediaCount(integer): Number of media of specified type

bottom of page