top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from AZSTOKE_SILVER_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")

    

retval,projID,setStartPos,endPos,regionName,regionIndex,regionColor,regionIndexOut = AZ_AddRegionMarker(0,2,4,"AZSTOKE",100,0,0)

Msg(regionIndexOut)

- SCRIPT -

retval,projID,setStartPos,endPos,regionName,regionIndex,regionColor,regionIndexOut = AZ_AddRegionMarker(projID,startPos,endPos,regionName,setIndex,setColor,regionIndexOut)

- API -

ID

MARKER

AZ_AddRegionMarker

Add Region

- API Detail-

▼Input value

  • projID(ReaProject): Project ID

  • startPos(double): Region start position (seconds)

  • endPos(double) : Region end position (seconds)

  • regionName(string) : Region name

  • regionIndex(integer) : Region Index

  • regionColor(integer) : Region color

  • regionIndexOut(integer) : for output

▼Output value

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

  • projID(ReaProject) : Output is the same as the input value

  • startPos(double): Output is the same as the input value

  • endPos(double) : Output is the same as the input value

  • regionName(string) : Output is the same as the input value

  • regionIndex(integer) : output is the same as the input

  • regionColor(integer) : Output is the same as the input value

  • regionIndexOut(integer) : Region ID

bottom of page