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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Fundamentals</strong>. Two-Dimensional <strong>Design</strong><br />

540<br />

Radio Button:<br />

On - defines the value to assign to the variable when switched on.<br />

In the further description of the controls, only the elements will be mentioned that are specific to this control<br />

element.<br />

Dialog Box Creation<br />

Let’s review the process of creating a dialog box<br />

using the example from the chapter “Brief<br />

Introductory Course” (section “Creating <strong>Parametric</strong><br />

Drawing”).<br />

The files for the examples described in the present<br />

Plate drawing example R31<br />

chapter are located in the library<br />

“Documentation examples” in the folder<br />

50<br />

70<br />

“\<strong>2D</strong> Desigh\Controls”. The drawing being<br />

considered is stored in the file “Sample plate<br />

75<br />

35<br />

drawing.GRB”.<br />

To modify parameters of the drawing, let’s introduce<br />

a set of variables:<br />

The variables height, width and width_1 are used<br />

as parameters of the lines defining the part<br />

dimensions;<br />

150<br />

The variables r_min and r_max define the radii of the conic-shape hole; flag_1 defines the visibility level<br />

of the axes;<br />

flag_3, size and $text define, respectively, the visibility level, the font size and the drawing title text;<br />

flag_21 and flag_22 define, respectively, the visibility level of the linear dimensions and the circlereferencing<br />

dimensions. Their values are driven by the variable dim_mode that controls the type of the<br />

displayed dimensions (none, linear only, circle dimensions only or all dimensions).<br />

100<br />

50

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

Saved successfully!

Ooh no, something went wrong!