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

    

mediaItem = AZ_GetMediaItemSelect(0,0,0)

retval = AZ_SetMediaItemActiveTakeCopy(mediaItem,1,2)

- SCRIPT -

retval = AZ_SetMediaItemActiveTakeCopy(mediaItem,setTrackID,setPosition)

- API -

MEDIA

AZ_SetMediaItemActiveTakeCopy

Copy the active take of the specified media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • setTrakID(integer): The track to set

  • setPositon(float): start position (seconds)

▼Output value

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

bottom of page