Tutorial User Guide > Drive Pages > Example of a Home Drive Page (Step 1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Example of a Home Drive Page (Step 1)
<advisor>
<!-- Drive Page for Analysis step-1, Open Database, written for automotive brake components.
The user must always execute this step to start.
The user indicates whether to open a new or previously existing database.
For an existing database, the existing state table is read in.
The advisor is restored to the condition that it was in when the previous session was last shut down.
Based upon user responses, the "nextpage" solution sequence home driver page is
assigned to control all subsequent analysis steps.
 
Added lrule to prevent 'reentry' into step one
 
Last Revision Date: 2/18/99 -->
 
<defsteps>
<ds stepid="1." steplabel="Open Component Modeling Database"> </ds>
</defsteps>
 
<step stepid="1." stephelp="st1help.html" >
 
<uresponse>
<response name="complete" type="STRING" values="C,X" readonly>
</uresponse>
 
<lrule ruleid="reentry">
 if (step(".").uresponse("Complete")=="C")
    page(".").step(".").dialog("exclude");
 else
    page(".").step(".").dialog("start");
</lrule>
 
<dialog dlgid="exclude"
 inputid="null"
 initftn="F:AAUI.mainpanel_unselect_steps">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
Step-1: (Open Database) has already been completed.
If you would like to start over with a different database,
select the <FONT Color="#FF0000">Quit button<FONT Color="#000000"> above.
<p> <FONT Color="#FF0000">Otherwise<FONT Color="#000000">, please select a
 different step from above.<p></FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="start"
 inputid="null"
 initftn="F:AAUI.mainpanel_lock_steps">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<CENTER><FONT Color="#FF0000">Brake Components Simulation Workflow<FONT Color="#000000"></CENTER><p>
<TABLE WIDTH="342" HEIGHT="200" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="53%" HEIGHT="195"><p><IMG SRC="brakelogo.png"></TD>
<TD WIDTH="47%"><P>Welcome to the automotive brake components simulation workflow package.<p>
These pages are maintained by the XXX Brakes Inc. Engineering Technology Center.
<p>Please direct all technical questions or problem reports to the Tech. Center.
</TD></TR></TABLE>
<p>Are you starting a new analysis model, or reopening an existing modeling database?
Please answer by selecting a hypertext below.
<ul>
<li><a HREF="PCL:AAI.html_calls(
FUNC:AAI.next_dialog;STR:step1_drive.xml;STR:1.;STR:new2)">New</a>
<li><a HREF="PCL:AAI.html_calls(
FUNC:AAI.next_dialog;STR:step1_drive.xml;STR:1.;STR:old2)">Existing</a>
<li><a HREF="PCL:AAI.html_calls(FUNC:AAUI.helpdoc_display;STR:st1help.html)">First, help me</a> understand this step, and how the drive pages work.
</ul> </FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="new2" inputid="new_db_open_nastranpref"
 quedlg=".#.#new3" errordlg=".#.#new2err"
 undo="F:uil_file_close.go">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<CENTER><IMG SRC="brakesinc.png"></CENTER><p>
<p><FONT Color="#FF0000">Open a New Database:<FONT Color="#000000"><p>
Please type in a name for the new model database in the text box below.
Select the <FONT COLOR="#FF0000">"Apply Inputs" <FONT COLOR="#000000">
button below after typing it in.<p>
Note: MSC/PATRAN databases use the .db file name extension.<br>
Example Filename: levermodel1.db <p>
UNIX rules for file names apply. No blanks, double-byte, or special characters are allowed.
</FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="new2err" inputid="new_db_open_nastranpref"
 quedlg=".#.#new3" errordlg=".#.#new2err"
 undo="F:uil_file_close.go">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<CENTER><IMG SRC="brakesinc.png"></CENTER><p>
<FONT Color="#FF0000">Error Condition:<FONT Color="#000000"><p>
The file name that you gave has blanks, special characters,
or represents an existing file. Please re-type a different name, and then select
<FONT COLOR="#FF0000">"Apply Inputs".<FONT COLOR="#000000"></FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="new3" inputid="null">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<CENTER><IMG SRC="brakesinc.png"></CENTER><p>
<p><FONT Color="#FF0000">Please select the component design that you will evaluate:<p>
<FONT Color="#000000">
Drum Brake Components:
<ol>
<li>Brake Shoe Substrate
<li>Shoe <a href="PCL:AAI.html_calls(
FUNC:AASTATE.record_ur_string;STR:nextpage;STR:parklever_drive.xml;
F:AAUI.mainpanel_unlock_steps;FUNC:AACHECK.step1_uchk;
FUNC:AANAV.step_wrapup;FUNC:AAI.allsteps_display)"> Park Brake Lever</a>
<li>Brake Drum
<li>Wheel Cyl. Housing
<li>Backing Plate
</ol>
Disk Brake Components:
<ol>
<li>Caliper Housing
<li>Caliper Piston
<li><a href="PCL:AAI.html_calls(
FUNC:AASTATE.record_ur_string;STR:nextpage;STR:rotor_drive.xml;
F:AAUI.mainpanel_unlock_steps;FUNC:AACHECK.step1_uchk;
FUNC:AANAV.step_wrapup;FUNC:AAI.allsteps_display)">Rotor</a> Thermal Dimensioning
<li>Pad Tension Spring
<li>Pad Retaining Pin
</ol>
Brake System Components:
<ol>
<li>Master Cyl. Housing
<li>Master Cyl. Piston
<li>Pedal Lever
<li>Pedal Bracket
</ol></FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="old2" inputid="existing_db_open"
 quedlg=".#.#st1ck1" errordlg=".#.#old2err"
 queftn="F:AAUI.mainpanel_unlock_steps;
 FUNC:AACHECK.step1_do_restore">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<CENTER><IMG SRC="brakesinc.png"></CENTER><p>
Please select the existing database from the available "Files" box below.
The selected file will appear in the "Selected File" box.
Next, select the "Apply Inputs" button.
<p>Note that you can navigate through directories to find the database by
selecting a path in the "Directories" box and then selecting the "Filter" button.</FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="old2err"
 inputid="existing_db_open"
 quedlg=".#.#st1ck1" errordlg=".#.#old2err"
 queftn="F:AAUI.mainpanel_unlock_steps;
 FUNC:AASTATE.restore_oldstate;
 FUNC:AACHECK.step1_uchk"
 exitftn="FUNC:AANAV.step_wrapup;FUNC:AAI.allsteps_display">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<CENTER><IMG SRC="brakesinc.png"></CENTER><p>
<FONT Color="#FF0000">Error Condition:<FONT Color="#000000"><p>
The database file selection was not valid.
Please select again from the "Files" box below, and then select "Apply Inputs".
<p>Note that you can navigate through directories by
selecting a path in the "Directories" box and then selecting the "Filter" button.</FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="st1ck1" inputid="null">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
This step is complete. Please select your next analysis step from the list above.<p></FONT></BODY></HTML>
</dialog>
 
<dialog dlgid="st1ck2" inputid="null">
<HTML><BODY BGCOLOR="#FFFFFF"><FONT COLOR="#000000">
<FONT Color="#FF0000">Error Condition:<FONT Color="#000000"><p>
A MSC/PATRAN database was not opened. You must go back and repeat step-1.<p></FONT></BODY></HTML>
</dialog>
 
</step>
</advisor>