Starts a new path diagram.
Syntax
result = pd.FileNew ()
result = pd.FileNew (saveOptions)
The FileNew method syntax has the following parts:
Part |
Description |
result |
True if an error occurs. |
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. |
If saveOptions is omitted, the FileNew method is equivalent to the menu selection File → New.
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. |