top of page

GameAudio & Art

import sys

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

from AZSTOKE_SILVER_python import *


def Msg(parm):

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


folderName = "AZSTOKE"

retval,_,_,fullPath,_,addPath,_ = AZ_SetResoucePathFolder(folderName,0,"",1024,"",1024)

Msg(fullPath)

Msg(addPath)


retval,_,_,fullPath,_,addPath,_ = AZ_SetResoucePathFolder(folderName,1,"",1024,"",1024)

Msg(fullPath)

Msg(addPath)


retval,_,_,fullPath,_,addPath,_ = AZ_SetResoucePathFolder(folderName,2,"",1024,"",1024)

Msg(fullPath)

Msg(addPath)


retval,_,_,fullPath,_,addPath,_ = AZ_SetResoucePathFolder(folderName,3,"",1024,"",1024)

Msg(fullPath)

Msg(addPath)

- SIMPLE SCRIPT -

retval,folderName,timeAddType,fullPath,fullPath_sz,addPath,addPath_sz = AZ_SetResoucePathFolder(folderName,timeAddType,fullPathOut,fullPathOut_sz,addPathOut,addPathOut_sz)

- API -

ID

FILE/FOLDER

AZ_SetResoucePathFolder

リソースパスにフォルダ階層を追加

- API Detail -

▼入力値

  • folderName (string):フォルダ名

  • timeAddType(integer) :  フォルダの末尾に付け加える時間タイプ※0/日付なし 1/月日時分 2/月日時分秒 3/年月日時分秒

▼出力値

  • retval(boolean):API実行の成否

  • folderName(string) : 入力と同じ

  • timeAddType(integer) : 入力と同じ

  • fullPath(string) : フォルダのフルパス

  • fullPath_sz(integer) : 入力と同じ

  • addPath(string) : 追加したフォルダパス

  • fullPath_sz (integer) : 入力と同じ

bottom of page