Open Template File

Opens a read-only SA template file from the specified path and file name.

 

Input Arguments

 

0

File Path or Embedded File

Template File Name

The default .XIT file to open.

Return Arguments

None.

 

Returned Status

 

SUCCESS

The template file was opened successfully.

PARTIAL SUCCESS The template was found but could not be opened.

FAILURE

The template file could not be found or could not be opened.

Remarks

This command supports both absolute paths (ex. C:\Analyzer Data\Templates\test.xit) and relative paths (ex. .\Templates\test.xit).

If a relative path is provided and the MP is embedded, the path will be relative to the current SA file location.

 

Examples

The following absolute path opens the SA template file at the given specific drive location:

 

0

File Path or Embedded File Name

SA File Name

c:\Analyzer Data\Templates\sample.xit

 

The following relative path opens the SA template file in the “sub” subdirectory of the currently executing MP’s loca- tion:

 

0

File Path or Embedded File Name

SA File Name

.\Templates\sub\sample.xit

 

This means that if the executing external MP is located at c:\myMPs, the file that will be opened will be c:\ myMPs\Templates\sub\sample.xit.