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_InsertMediaSelectedTrackIdSecond(0,1,"E:\\Test_sound\\AZ_vo_women_01.wav",0,1)
retval,_,nameOut,_ = AZ_GetMediaItemName(mediaItem,"",1024)
Msg(nameOut)
- SCRIPT -
mediaItem = AZ_InsertMediaSelectedTrackIdSecond(projID,selectTrackID,filePath,startEndType,setSecond)
- API -
ID
![](https://static.wixstatic.com/media/fc32ca_ce420e9bb52c45e180e78eae3346c302~mv2.png/v1/fill/w_61,h_61,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/01_BRONZE.png)
MEDIA
AZ_InsertMediaSelectedTrackIdSecond
対応バージョン:
2.1.0
以降
Insert media at specified position (seconds) of specified selected track ID
LUA
- API Detail-
▼Input value
projID (int) : Project ID
selectTrackID (int): Selected track ID
filePath(string): "File path name"
startEndType (int) : 0/Time from 0 seconds 1/Time from the last waveform point
setSecond(float): Installation position (seconds)
▼Output value
mediaItem(mediaItem) : Media item
bottom of page