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

536<br />

The control elements “Static text”, “Frame” and “Group Box” are not related to any variables and are used<br />

for making a clear dialog layout and providing hints.<br />

Static Text is a text string positioned in the specified area of the dialog box.<br />

Frame is a rectangular frame or rectangular area of the specified color. By default, this is a black frame or a<br />

rectangle of the background color.<br />

Group Box is a frame with a text aligned with the top border of the box.<br />

The two last elements are used for enhancing and structuring the visual appearance of control elements in the<br />

dialog box. Other visual means can also be used for this purpose.<br />

Other elements – “Edit Box”, “Button”, “Combo Box”, “Check Box”, “Radio Button”, “Preview” - are<br />

related to variables or the model pages and is intended for manipulating those in certain ways.<br />

Edit Box is a rectangular field for editing the value of the variables associated with this box. Edit box is used<br />

for variables without lists of predefined values. It is possible to work in a mode when the displayed value<br />

cannot be edited (in this case, in the Edit Box field the value of the connected to this field variable will be<br />

shown but this value will not be possible to modify).<br />

Button. A button defines the sequence of actions performed upon pressing it. Such actions can be:<br />

- Activate Page (show contents of the specified page in the current dialog box);<br />

- Open Dialog Box (displays the dialog box contained on the specified page, in a new window);<br />

- Set Variable Value (assigns the specified value to the selected variable);<br />

- Regenerate 3D Model;<br />

- Run Macro (a macro is a program written in some programming language using T-<strong>FLEX</strong> <strong>CAD</strong> API<br />

functions. See the “Macros” chapter for details or creating and working with macros).<br />

Combo Box is a rectangular field with a pulldown list button on the right. A combo box is used for<br />

modifying a variable value when there is a predefined list of values. The element parameters define<br />

whether it is possible to edit the input value.<br />

Check Box switches between the two values of the selected variable. The particular value depends on the<br />

check box state.<br />

Radio Button switches between the variable values defined in the radio group parameters. Radio buttons can<br />

be conveniently used for variables with several fixed choices of values. (In the case of just two choices,<br />

“Check Box” can be used instead.) In this case, a radio group of switches is created for the variable, each<br />

representing one of its values.<br />

The custom dialogs allow creation of “Preview” controls. Such an<br />

element allows displaying a preview pane for a page per the specified<br />

fixing factor in the dialog box for editing the fragment external variables.<br />

Preview is not available in the dialogs called by the command<br />

"Parameters|Model".<br />

When creating a dialog box, besides the control elements proper, you can use any drawing elements: nodes,<br />

construction lines, images, pictures, etc. Construction lines and nodes are not displayed as part of the dialog<br />

box window, however, those can be used for precise positioning of control elements when creating<br />

complicated dialogs.<br />

Graphic elements and pictures can be used as additional detailing elements in the dialog box along with the<br />

standard control elements, such as “Frame”, “Group Box”, “Static Text”. Those elements can be used, for

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

Saved successfully!

Ooh no, something went wrong!