8.2.38 SetModified

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Description

SetModified property sets or clears modified flag for currently open Origin project without saving it.

Syntax

SetModified(NewValue)

Parameters

NewValue
0: clears modified flag
1: set modified flag

Return

None

Examples

EX1

import PyOrigin
#set modified flag
PyOrigin.SetModified(1)

See Also

IsModified