AAI.html_calls | (pclcalls) |
Description: | ||
This function will execute the function or functions described by the string argument pclcalls. This call is typically listed on an HREF anchor of HTML dialog packets. This function will parse the argument supplied into the indicated PCL function calls with their arguments, and then make the calls. | ||
Input: | ||
STRING | pclcalls[ ] | This value specifies the PCL functions and all parameters for those functions. The format is given in the Remarks section below. |
Output: | ||
Error Conditions: | ||
None. |
Note: | Only fixed value arguments are available to PCL calls made directly by this method. When function calls require the user to input or change argument values, the “Input Box” functionality is used to display the required widgets and to automatically construct the corresponding PCL calls. |
<A HREF="PCL:AAI.html_calls(FUNC:AANAV.lever_results;INT:1)">
Exaggerated </A> deformed shape.
AAI.get_step1id | (step1id) |
Description: | ||
This function will return the ID of the first analysis step. A separate, special XML drive page exists for the first analysis step. This function reads that page and searches for the stepid tag. | ||
Input: Output: | ||
STRING | step1id[4] | This value returns the ID found in the step tag. |
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
Note: | The XML drive page for the first step is defined through the environment variable AdvisorPAGE1. |
AAI.allsteps_display | () |
Description: | ||
This function will search for the <defsteps> tag on an XML page. It reads the 4 character ID and 36 character definition of steps for all analysis steps. It obtains the step completion indications from the STATE TABLE. It calls the AAUI.mainpanel_include_steps function to cause a display of the steps on the Main Panel. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.init_step_dialog | () |
Description: | ||
This function will read the XML solution sequence page and follow the automated link rules to select the correct initial dialog for a selected step. This function is called by the user interface model in response to a user selecting an analysis step. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.step_help_doc | () |
Description: | ||
This function will display the supplemental HTML help document associated with the current operational analysis step, if one is specified, by launching the MSC Acumen BROWSER application. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None |
AAI.next_dialog | (filename, filestep, dialog_id) |
Description: | ||
This function will read the XML page file, extract the HTML dialog called for, and feed it to the UI Dialog Box HTML widget. The dialog is selected by direct reference to the page “filename”, the step tag ID on that page file “filestep”, and the dialog tag ID within the step tag “dialog_id”. No automated link rules are followed to get to the dialog. | ||
Input: | ||
STRING | filename[128] | This value specifies the name of the XML file. If the first character is a ‘/’, it is a full path, otherwise it is a relative path from the AdvisorLIB environment variable path. |
STRING | filestep[4] | This value specifies the step ID. |
STRING | dialog_id[8] | This value specifies the dialog ID. |
Output: | ||
INTEGER | <Return Value> | his function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.dynamic_next_dialog | (htmlstring, filename, filestep, dialog_id) |
Description: | ||
This function will find and display HTML dialog and handle function calls associated with the referenced <dialog> tag. In addition, this call appends the HTML contained in the “htmlstring” argument to the front of the any HTML found in the referenced “drive page” dialog. The <HTML> </HTML> tags from the two sources are consolidated into one set bounding the total constructed dialog. This call enables the dynamic construction and display of HTML dialog from automation functions. The dialog may present information that was obtained through recent computations. To use double quotes, “, within a PCL string that is being passed, two double quotes , ““, are used and will be converted to one double quote within the string. See example below. | ||
Input: | ||
STRING | htmlstring[ ] | This value specifies dynamically generated HTML data to append in the front of any fixed HTML contained in the referenced <dialog> tag. |
STRING | filename[128] | This value specifies the name of the XML file. If the first character is a ‘/’, it is a full path, otherwise it is a relative path from the AdvisorLIB environment variable path. |
STRING | filestep[4] | This value specifies the step ID. |
STRING | dialog_id[8] | This value specifies the dialog ID. |
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None |
htmlstring=”<HTML><BODY BGCOLOR=””#FFFFFF””><FONT COLOR=””#FF0000””>” // @
“<P>You have selected the material: “ // mat // ” </FONT></P></HTML>”
AAI.dynamic_next_dialog(htmlstring,page,stepid,”finish”)
AAI.queued_dialog | () |
Description: | ||
This function will display the next dialog HTML packet in the UI form Dialog Box associated with the quedlg argument for the current dialog. | ||
Input: Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.queued_msg | () |
Description: | ||
This function will display an error condition warning dialog HTML packet in the UI form Dialog Box. It is called when user inputs to the Inputs Box result in an error return value. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.queued_ftn | () |
Description: | ||
This function will execute optional supplemental PCL function calls as requested through the queftn argument in the dialog tag. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.initiate_ftn | () |
Description: | ||
This function will execute optional supplemental PCL function calls as requested through the initftn argument in the dialog tag. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |
AAI.exit_ftn | () |
Description: | ||
This function will execute optional supplemental PCL function calls as requested through the exitftn argument in the dialog tag. | ||
Input: | ||
Output: | ||
INTEGER | <Return Value> | This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error. |
Error Conditions: | ||
None. |