top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

Media

4

Print all file names and frame numbers for the specified track to the console

RANK

SNS SHARE

AZSTOKE_TrackAllMediaNameAndFrameConsol

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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

    

retval,_,_,_,allCount,_ = AZ_GetTrackMediaTypeCount(0,1,"",0,0)


for i in range(allCount):

    retval,_,_,_,mediaName,_ = AZ_GetTrackMediaName(0,1,i,"",1024)

    retval,_,_,_,frame = AZ_GetTrackMediaStartTimeFrame(0,1,i,0)

    Msg(str(frame)+":"+mediaName)

import sys

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

from AZSTOKE_BRONZE_python import *

  • Import the Bronze API.

  • If you don't have it installed, you'll need to download it here


def Msg(parm):

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

  • Set up the Msg function to output to the console screen

retval,_,_,_,allCount,_ = AZ_GetTrackMediaTypeCount(0,1,"",0,0)

  • Get the number of all media in the specified track (allCount)



for i in range(allCount):

  • Loop from 0 to the variable (allCount)

retval,_,_,_,mediaName,_ = AZ_GetTrackMediaName(0,1,i,"",1024)

  • Save the specified media name in the specified track in variable (i) to variable (name)

retval,_,_,_,frame = AZ_GetTrackMediaStartTimeFrame(0,1,i,0)

  • Save the start frame of the specified media in the specified track in variable (i) to variable (frame).

Msg(str(frame)+":"+mediaName)

  • The number of frames (frame):media name (name) are output to the console screen in this order.

APIの利用にはBRONZEに

加入し専用APIを

ダウンロード

する必要があります。

  1. Multiple media in a project

  2. Select the file you want to add _NG to

- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -

PYTHON

​ReaScript File Download 👇

​※実行するには専用APIが必要です

- Script Image -
bottom of page