<advisor> | ||
Description: | ||
Advisor is the top level element and contains optional defsteps and one or more step elements. All drive pages are delimited by <advisor> and </advisor> tags. | ||
Elements: | ||
<defsteps> | Optional | |
<step> | Required |
<defsteps> | ||
Description: | ||
Defsteps contain one or more ds elements. | ||
Elements: | ||
<ds> | Required | One or more <ds> tags are required to define the steps. |
<defsteps>
<ds stepid=”2.” steplabel = “Acquire Geometry” > </ds>
<ds stepid=”3.” steplabel = “Geometry Check, Repair” > </ds>
<ds stepid=”4.” steplabel = “Geometry Idealization” > </ds>
...
</defsteps>
<ds> | ||
Description | ||
<ds> elements define the IDs and descriptions for analysis steps that will appear in the UI form main step selection box. | ||
Attributes: | ||
stepid | Required | |
steplabel | Required |
<step> | |
Description: | |
<step> tags are used to contain the work flow description of each defined step of the process | |
Attributes: | |
stepid | Required |
stephelp | Implied |
Elements: | |
<uresponse> | Required |
<lrule> | Optional |
<dialog> | Optional |
Important: | Because of parsing issues, the format for http references needs to be “http_//www....” instead of http://www....”. |
<step stepid = “2.” stephelp = “helpdocs/st2help.html”>
<uresponse>
<response name =”thickness” type=”REAL”> </response>
<response name =”complete” type=”STRING” values=”C,X” readonly> </response>
<response name =”geomsource” type=”STRING” vlaues=ug,express” readonly> </response>
</uresponse>
...
</step>
<step stepid = “2.” stephelp = “d:/testing/step_test/helpdocs/st2help.html”>
...
</step>
<step stepid = “2.” stephelp = “http_//www.macsch.com/helpdocs/st2help.html”>
...
</step>
<uresponse> | ||
Description: | ||
Establishes a set of variables for each step tag to support the “Quick Review” functionality. | ||
Elements: | ||
<response> | Optional | A uresponse tag may contain zero to many response tags. The response tag declares a user reponse variable as stored in the State Table to display on the Quick Review form. |
<uresponse>
<response
name = “geomsource”
type = “STRING”
values = “ug,catia,proe”> </response>
<response
name = “thickness”
type = “REAL”> </response>
<response
name = “complete”
type = “STRING”
values = “C,X”
readonly = “yes”> </response>
</uresponse>
<response> | ||
Description: | ||
The response tag is associated with a <uresponse> tag. It defines variables to display for the “Quick Review” functionality. | ||
Attributes: | ||
NAME | Required | Name of the variable. |
TYPE | Required | The type of the variable, which must be scalar: STRING, REAL, INTEGER |
VALUES | Implied | If the type is STRING, a list of values is required, separated by comma delimiters. |
READONLY | Optional | This attribute will prevent the user from making value changes with the Quick Review functionality. |
<lrule> | ||
Description: | ||
Automated Link Rules are used to allow the drive page interpreter to make automated selections of hypertext like links and locate the correct initial dialog packet for an analysis step. | ||
Attributes: | ||
ruleid | Required | An identifying rule ID, 8 characters maximum. |
<lrule ruleid=”tagid1”>
if (step(“stepid1”).uresponse(“varname1”) == “somevalue”)
page ( “filepath”).step(“stepid2”).lrule(“tagid2”);
else if ( step(“stepid1”).uresponse(“varname2”) != 4)
page ( “filepath”).step(“stepid3”).dialog(“tagid3”);
else page(“filepath2”).step(“stepid4”).dialog(“tagid4”);
</lrule>
<dialog> | ||
Description: | ||
The dialog tag has required and optional attributes which support an enhanced UI functionality. All character data assigned to attributes are delimited by quotes (“). The attribute declarations are NOT separated by a comma delimiter. The attributes for a dialog tag can be in any order. | ||
Attributes: | ||
dlgid | Required | The dialog id. 8 character maximum. |
inputid | Required | The PCL Function Definitions file look up ID associated with this dialog. 32 character maximum. An assigned value of “null” denotes that no “Inputs Box” functionality is used, and no widgets for user interaction will be displayed. |
quedlg | Optional | This is the address of a queued dialog to be displayed in the “Dialog Box” after the Apply Inputs button is selected and after the associated “Inputs Box” referenced PCL functions are executed. The address consists of three fields: 1) the page file, 2) the step ID, 3) the dialog ID. Note that the # is the delimiter. A dot (.) indicates “this one”. For example “.#.#next_dia” would indicate this file, this step, next_dia dialog. Note that if inputid = “null” then this attribute is not used. |
errordlg | Optional | This is the address of a queued error message to display in the “Dialog Box” in the case input function returns an error code after the “Apply Inputs” button is selected. The address consists of three fields: 1) the page file, 2) the step ID, 3) the dialog ID. Note that the # is the delimiter. A dot (.) indicates “this one”. For example “.#.#errormsg” would indicate this file, this step, errormsg dialog. |
initftn | Optional | This attribute is set equal to a character string representing any number of requested PCL function calls with fixed value arguments. The PCL calls requested by the tag are dialog precursor calls made at the time the new dialog is displayed in the “Dialog Box”. |
queftn | Optional | This attribute is set equal to a character string representing any number of queued PCL function calls with fixed value arguments. The PCL calls requested by the tag are executed after calls made by the “Inputs Box” referenced function. Note: If inputid = “null” then this attribute is not used. Note: Two conditions are necessary for calls under this to be invoked; (1) inputid must not be = “null”, (2) the PCL function call specified by inputid must return a success status, or no status checking is called for. |
exitftn | Optional | This attribute is set equal to a character string representing any number of requested PCL function calls with fixed value arguments. The PCL calls requested by the tag are executed right at the time the dialog is exited from the “Dialog Box”. Note: Even if inputid=”null”, this attribute is still used. Function calls listed under this attribute are invoked regardless of success or failure status from any inputid listed calls. |
undo | Optional | This attribute is set equal to a character string representing any number of requested PCL function calls with fixed value arguments. The PCL calls requested by the tag are executed when the user hits the “Dialog Backup” button, and this <dialog> is displayed as a result. |
Elements: | ||
<returnerror> | Optional | This element will override the errdlg attribute and more precisely handle various return value conditions. |
<HTML> | Required | This element will provide a text and/or graphics display to the UI form “Dialog Box”. |
<dialog dlgid = “start”
inputid = “ugfileopen”
quedlg = “.#2.#ug2”
errordlg = “errors/ugimport.xml#stp1#err1”
initftn = “FUNC:gu_fit_view”
queftn = “F:AASTATE.record_ur_string;STR:geomsource;STR:ug;
F:AACHECK.nas101_st2;
F:AANAV.step_wrapup;”
exitftn = “F:ga_view+aa+set;R:30;R:30;R:0
undo = “F:AANAV.undo_ugfile”>
<returnerror
retvalue=1
retdlg = “.#2.#er1”>
<returnerror
retvalue=2
retdlg = “.#2.#er2”>
<HTML
Please select the CAD file from the list below.
</HTML>
</dialog>
<returnerror> | ||
Description: | ||
This sub element to the <dialog> tag provides a precise way to handle different return conditions from the execution of a PCL function associated with the “Inputs Box” functionality. A non-zero return directs display of different dialogs depending upon the return value. | ||
Attributes: | ||
retvalue | Required | Possible integer return value from the referenced PCL function |
retdlg | Required | Address of the <dialog> to display for this return value. |