auto_ReplaceTextDialog can be used within an automation script to show a text dialog box.
bool is TRUE (1), when the function was successful and otherwise FALSE (0).
hPage is the handle of the page where the text should be edited. If this parameter is not entered or is entered with the value 0, the active page will be used. The active page is the top most page appearing on the monitior.
ssNetCDFName is the complete netCDF file name.
Identifies the netCDF file.
If the function is called without the parameter hPage, the function uses the last page created with the auto_LoadTemplate function.
The function searches the page for placeholders. A place holder is a text enclosed with $ symbols. i.e. $User$. Place-holders can be used in text objects and in the diagram axes titles.
If a place-holder is not found in the text of a text object, this function searches the text object’s name for one. If a place-holder is found in the name, the text of a text object will appear in a dialog box in order for it to be edited.
When the ssNetCDFName parameter is entered, the place-holder will be looked for in the NC file. Please note the following:
To access a global attribute, the name of the attribute should be entered. For example: "Origin".
To access an attribute of a specific variable, the name of the variable should be separated from the attribute name with a period. For example: $Torque.long_name$.
|5.4.0||New parameter ncid. This parameter can be used instead of the file name.|