top of page
- API -

regionIndex = reaper.AZ_AddRegionMarker(projID,regionStartPos,regionEndPos,regionName,regionIndex,regionColor)

- API Detail-

▼Input value

projID(ReaProject): Project ID

setStartPos(double) : The start position of the region in seconds.

setEndPos(double) : End position of the region in seconds

setName(string) : Region name

setRegionIndex(integer) ; Region Index

setColor(integer) : Region color


▼Output value

retval(boolean): Success or failure of API execution

regionIndexOut (integer) : Region index

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


regionIndex = reaper.AZ_AddRegionMarker(0,0,2,"AZSTOKE",1,0)

Msg(regionIndex)

MARKER

AZ_AddRegionMarker

Supported versions:

1.0.3

onwards

Add Region

bottom of page