top of page

import sys

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

from AZSTOKE_SILVER_python import *


def Msg(parm):

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

    

regionIndexOut = AZ_AddRegionMarker(0,2,4,"AZSTOKE",100,0)

Msg(regionIndexOut)

- SCRIPT -

regionIndexOut = AZ_AddRegionMarker(projID,startPos,endPos,regionName,setIndex,setColor)

- API -

対応バージョン:

1.0.0

以降

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