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")


mediaItem = AZ_GetMediaItemSelect(0,0,0)

retval,item,chModelOut = AZ_GetMediaItemChannelMode(mediaItem,0)

Msg(chModelOut)


Item = AZ_GetMediaItemSelect(0,1,0)

retval,item,chModelOut = AZ_GetMediaItemChannelMode(Item,0)

Msg(chModelOut)

- SCRIPT -

retval,item,chModelOut = AZ_GetMediaItemChannelMode(mediaItem,chModeOut)

- API -

対応バージョン:

2.0.0

以降

MEDIA

AZ_GetMediaItemChannelMode

Gets the channel mode of the specified media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

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

  • item(MediaItem): The same as the input can be handled with output "_".

  • chMode(Integer): Channel mode

bottom of page