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 />

542<br />

Variables that drive the size of the hole (minimum and maximum radii);<br />

Variables that control axis and dimension display.<br />

Let's divide the dialog box accordingly into several theme areas. In the first area, let's put the control<br />

elements for modifying the “Part Sizes”. The second area will hold the controls for defining the “Conic Hole<br />

Sizes”. The third area will contain the control elements for axis and dimension display “Preferences”.<br />

Finally, the fourth group can unite auxiliary elements: the preview pane (for selecting the active page when<br />

inserting the drawing as a fragment) and the picture of the drawing (to display when modifying the model<br />

parameters in the command "Parameters|Model").<br />

The “Group Box” control element will be used for enhanced visual representation/grouping of the control<br />

elements in the dialog box being built:<br />

Group Box<br />

Create the first group on the dialog page. Set the size and<br />

position of the element as shown on the diagram.<br />

In the “Control Parameters” dialog box, enter the group<br />

name as: “Part Sizes”.<br />

Thereafter, create the rest of the groups in the same way.<br />

Position the groups as shown on the diagram. Note that the<br />

group reserved for the preview pane is left unnamed. To<br />

have it this way, leave the “Caption” entry blank in the<br />

“Control Parameters” dialog. The element “Frame” can be<br />

used for similar purpose.<br />

Thus, we have created group boxes for various model parameters. Now, we need to create control elements<br />

within each group, that will allow modifying the values of the respective variables.<br />

Let's create explanation notes. To do this, select the automenu option:<br />

Static Text<br />

To create a string of text, specify two bounding points of the text.<br />

In the coming up “Control Parameters”, enter the string<br />

“Height:” in the “Caption” parameter input box.<br />

Similarly, create the captions “Length:”, “Width:” and<br />

“Minimum:”, “Maximum:”, placing those as shown on the<br />

diagram.<br />

Next, we need to create control elements for editing certain<br />

model parameters. The control elements “Edit Box” and<br />

“Combo Box” can be used for this purpose.<br />

Since the lists of predefined values exist in this example<br />

for the variables height, width and width_1, responsible for<br />

the height, length and width of the part, respectively, let's<br />

use the “Combo Box”-type controls for these variables.<br />

Since the parameter “Editable” is turned off in the default settings, the direct input of the variable values is<br />

disallowed for all created “Combo Box” controls in this example. The variables can only be defined by<br />

selecting values from the list.

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

Saved successfully!

Ooh no, something went wrong!