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.

When using a variable for defining a level, enter the variable<br />

without braces, for example, LEVEL1<br />

After exiting the parameters dialog box of the given element,<br />

another dialog box will come up on screen for setting the value of<br />

the variable LEVEL1.<br />

Using a variable as an element level allows modifying the way in<br />

which the drawing is displayed depending on specific conditions.<br />

As an example, create a drawing shown on the following diagram.<br />

Set the level of the rectangle diagonals using the variable “A”. Set<br />

the value of the “A” variable equal to “1”. In the command<br />

“SH: Set Levels” set the visibility range for the graphic lines<br />

from 0 to 127. In the variable editor create a variable “B” with<br />

the initial value “1”. Enter the following expression in the<br />

variable editor for “A”: “B == 0?-1:1”.<br />

Main Concepts of System Operation<br />

Thereafter, set the value of “B” first equal to “1”, and then “0”.<br />

With the first value, the created line will be present on screen, while absent with the second value.<br />

Thus, using variables as levels of various elements, you can create different variations of the same drawing.<br />

Priority<br />

When creating assemblies, especially, in engineering industry, it is often necessary that one element be<br />

drawn on top of others. This behavior is easy to realize using parametric fragments, hidden line removal, and<br />

an additional special parameter of graphic elements – the priority.<br />

The fact is, the model elements are drawn on the screen or other graphical devices in a certain order. This<br />

order normally corresponds with the element types and the order of element creation. However, this order<br />

can be changed using priorities.<br />

127

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

Saved successfully!

Ooh no, something went wrong!