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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Variables<br />

Upon calling this command the dialog window appears.<br />

One needs to specify the name of the file, into which the<br />

information will be written. By default, the filename<br />

coincides with the name of the current drawing, file<br />

extension is – “par”. It is possible to specify an arbitrary<br />

filename.<br />

Each variable is written in a separate line. The format of the<br />

record is the following:<br />

= [/**/]<br />

The name and the value of the variable are always written<br />

down.<br />

The comment is written on condition that one of the following parameters has been set on: “With<br />

Expressions” or “With Comments”.<br />

If in the export dialog box the flag “Marked Only” is activated, then only external variables of the given<br />

document will be written into the resulting file. When the flag is taken off, all visible variables are exported.<br />

Hidden variables are not exported by default. In order to write them into the external file as well, it is<br />

necessary to set on the flag “Export Hidden Variables”.<br />

For example, suppose there is the following list of variables in the editor:<br />

Upon writing the file, the following parameters have been activated: output all variables except hidden ones,<br />

with expressions and comments. This has to result in the file with the following content:<br />

The values of external variables can be read from the file of parameters by using the command “Import<br />

Parameters”:<br />

Keyboard Textual menu Icon<br />

«File|Import»<br />

After calling this command the dialog window pops up.<br />

If the variable present in the file of parameters is absent in<br />

the current drawing, it will not be read. Also, the variables<br />

that are not defining in the drawing as external will not be<br />

read.<br />

How can files of parameters be used?<br />

Files of parameters can be used when you need to save several versions of the same drawing. In this case you<br />

save several files of parameters with the values of external variables and, if necessary, read the values from a<br />

specific file. As a result, a finished drawing with the required parameters is obtained.<br />

485

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

Saved successfully!

Ooh no, something went wrong!