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")


retval,directory,fileName,text,text_sz = AZ_ReadFile("F:/script/test2","AZSTOKE.txt","",1024)

Msg(text)

- SCRIPT -

retval,directory,fileName,textOut,textOut_sz = AZ_ReadFile(directory,fileName,textOut,textOut_sz)

- API -

対応バージョン:

1.0.0

以降

FILE/FOLDER

AZ_ReadFile

Read the specified text file

- API Detail-

▼Input value

  • directory (string): Destination folder path

  • fileName(string): File name including extension (AZSTOKE.txt)

  • textOut(string) : For output ""

  • textOut_sz(integer) : Set the output size, e.g. "1024"

▼Output value

  • retval(boolean): Success or failure of API execution

  • directory(string): same as input

  • fileName(string): same as input

  • textOut(string): The text of the loaded file

  • textOut_sz(integer) : same as input

bottom of page