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)

chModel = AZ_GetMediaItemChannelMode(mediaItem)

Msg(chModel)


Item = AZ_GetMediaItemSelect(0,1,0)

chModel = AZ_GetMediaItemChannelMode(Item)

Msg(chModel)

- SCRIPT -

chModel = AZ_GetMediaItemChannelMode(item)

- API -

ID

MEDIA

AZ_GetMediaItemChannelMode

対応バージョン:

2.0.0

以降

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