30.07.2013 Views

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Control Elements. Creating User Defined Dialog Boxes<br />

First, let's create the control element for defining the part height. Call the respective automenu option:<br />

Combo Box<br />

Position the control to the right of the “Height” caption, as shown on the<br />

diagram.<br />

Next, in the coming up “Insert Variable” dialog box, select the variable to<br />

bind to the control being created (the variable “height” in the case of the part<br />

height).<br />

If necessary, you can specify the name of any non-existent variable by manually entering it in the<br />

“Expression” field. This brings up the standard “Variable value” dialog box, described in the<br />

chapter “Brief introductory course”. The variable being created is automatically marked as<br />

external.<br />

Create yourself the “Combo Box”-type controls for the variables “width” and “width_1”.<br />

The next step is creation of control elements for modifying the variables r_min and r_max that drive the size<br />

of the conic hole. Since these variables do not have predefined lists of values, you can use “Edit Box”<br />

controls for them:<br />

Edit Box<br />

Let's create the “Edit Box” of the variable r_min. Activate the option and define<br />

the control position according to the diagram. In the “Insert Variable”, select<br />

the variable to bind the control to – r_min.<br />

Similarly, create “Edit Box” for the variable r_max.<br />

To make the selector for axis display, in this example one can use the “Check Box” control, placing it in the<br />

“Preferences” group.<br />

Select the automenu option:<br />

Check Box<br />

543

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!