Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Starts a new path diagram using a template.

Syntax

result = pd.FileNewWithTemplate ()

result = pd.FileNewWithTemplate (templateFileName)

result = pd.FileNewWithTemplate (templateFileName,saveOptions)

The FileNewWithTemplate method syntax has the following parts:

Part

Description

result

True if an error occurs or if the user cancels the operation.

templateFileName

The name of a template 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 FileNewWithTemplate with no arguments is equivalent to the menu selection File New With Template.

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.

© 2021 Amos Development Corporation