3.2.36 Save


Description

Save the current Origin session to an Origin project (OPJ) file.

Syntax

Save(PathName)

Parameters

PathName
The full path and name of the Origin project file.

Return

True for success, this method will check path existence before attempting to save, so will return False if path does not exist

Examples

import PyOrigin
PathNameToSave = 'd:\\test.opj'      
if(PyOrigin.Save(PathNameToSave)):
    print('Project saving succeeded.')
else:
    print('Project saving failed!')