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

522<br />

In this case, the first argument is the name of the global variable, and the expression in the second argument<br />

defines the global variable value.<br />

Exercise: create a new variable (“var_2”) in the variable editor,<br />

and assign it to the function setting the value of a global variable.<br />

If a global variable with the specified name already exists, then its<br />

value will be modified. If the variable with the specified name<br />

does not exist, then it will be created and displayed in the main<br />

pane of the Global Variables dialog box. If a global variable is<br />

defined in the drawing by one of the functions, setg or tsetg, then<br />

opening this drawing in a different user account (on a different<br />

computer) creates the global variable on that account/computer<br />

automatically.<br />

Note that global variables can be used, for example, for automatic<br />

creation of drawing documentation. Suppose, the user creates a<br />

global variable - the developer's name. The value of this variable<br />

can be entered in the title block of the drawing by using the<br />

described functions. Thus, a portion of the title block template will<br />

be filled in automatically as you insert the title block.

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

Saved successfully!

Ooh no, something went wrong!