3.2.23 Load


Description

Load the file into Origin by read only or read/write

Syntax

Load(Path, ReadOnly)

Parameters

Path

The OPJ file path

ReadOnly

1=Read Only
0=Read/Write

Return

True is load file succeed.

Examples

import PyOrigin
PyOrigin.LT_execute('fn$=system.path.program$ + "Samples\Graphing\Customizing Graphs.opj"')
str=PyOrigin.LT_get_str('fn')
PyOrigin.Load(str,1)  #BOOL, 1 means read only