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

Msg(mediaName)

- SCRIPT -

retval,_,_,mediaName,_ = AZ_GetMediaName(projID,itemID,outMediaName,outMediaSize)

- API -

対応バージョン:

1.0.1

以降

MEDIA

AZ_GetMediaName

Get the name of the specified media

- API Detail-

▼Input value

  • projID(integer) : Project ID

  • itemID(integer): Media ID

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

  • MediaSize(integer) : Specify 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