Retrieves a path diagram that was saved previously.
Syntax
result = pd.FileOpen ()
result = pd.FileOpen (fileName)
result = pd.FileOpen (fileName, saveOptions)
The FileOpen method syntax has the following parts:
Part |
Description |
result |
True if an error occurs or if the user cancels the operation. |
fileName |
The name of a path diagram file (a *.amw file). |
saveOptions |
Optional. A constant, as specified in Settings, that tells Amos what to do if there is currently an unsaved path diagram in the Amos window. |
Calling FileOpen with no arguments is equivalent to the menu selection File → Open.
Settings
The settings for saveOptions are:
Constant |
Value |
Description |
PdPromptToSaveChanges (default) |
0 |
Prompt the user to save or discard the current path diagram |
PdDoNotSaveChanges |
1 |
Discard the current path diagram. |
PdSaveChanges |
2 |
Save the current path diagram. |