top of page

AZSTOKE/ALGAZODIK

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,_,_,mediaName,_ = AZ_GetSelectedMediaName(0,0,"",1024)

Msg(mediaName)

- SCRIPT -

retval,_,_,mediaName,_ = AZ_GetSelectedMediaName(projID,selectItemID,outMediaName,outMediaSize)

- API -

ID

MEDIA

AZ_GetSelectedMediaName

Get the name of the specified selected media

- API Detail-

▼Input value

  • projID(integer) : Project ID

  • itemID(integer): Media ID

  • outMediaName(string): Sets the frame of the string ("") only

  • MediaSize(integer) : Specifies the size (number of characters) of outMediaName. *Specify the size that will definitely fit (e.g. 1024).

▼Output value

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

  • projID (integer): The same as the input will be handled with "_" as the output.

  • itemID (integer): The same as the input is output. Use "_" to handle

  • mediaName(string) : Name of the media

  • mediaSize(integer) : The same as the input, but with "_" as the output

bottom of page