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.

LTOT ( 120.34567, 0.001, 1, 5 ) returns → 120.34600<br />

Using Function GET ()<br />

Variables<br />

This function returns the value of the requested property of a <strong>2D</strong> or 3D element, as well as the current<br />

drawing page. Sets of accessible properties vary depending on the queried element.<br />

The function will be automatically substituted as expression for a variable if such variable is<br />

created when measuring properties of <strong>2D</strong> or 3D element in “PM: Measure Element or relation<br />

between two Elements” command.<br />

The calling sequence:<br />

GET ( “string1”, “string2” ), where<br />

string1 – the queried element name or Id,<br />

string2 – the parameter name.<br />

All 3D elements and operations are assigned Ids (unique identification numbers). They are also assigned a<br />

"Name" parameter that is automatically initialized by a system default. The name can be changed by the user<br />

if necessary. The <strong>2D</strong> elements by default only get an Id. Names can be assigned to some <strong>2D</strong> elements,<br />

particularly, to <strong>2D</strong> nodes and graphic lines. The names are assigned in the editing commands, such as “EN:<br />

Edit Node” or “EG: Edit Graphic Line”, using the option.<br />

The elements whose parameters can be got by the described function, are:<br />

- the drawing's <strong>2D</strong> pages;<br />

- construction lines;<br />

- nodes;<br />

- graphic lines;<br />

- text;<br />

- fragments;<br />

- hatches;<br />

- 3D elements;<br />

- 3D operations;<br />

- faces, edges, loops.<br />

The following reserved names are used for the available parameters:<br />

for <strong>2D</strong> pages of a drawing:<br />

“ZONES_STEP_X” − the size of one zone along X-axis (the step size along X-axis);<br />

“ZONES_STEP_Y” − the size of one zone along X-axis (the step size along Y-axis_;<br />

“ZONES_OFFSET_X” − the offset of the area being divided into the zones from the point (0,0) - along Xaxis;<br />

“ZONES_OFFSET_Y” − the offset of the area being divided into the zones from the point (0,0) - along Yaxis;<br />

“ZONES_COUNT_X” − the number of zones along X-axis;<br />

“ZONES_COUNT_Y” − the number of zones along Y-axis.<br />

503

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

Saved successfully!

Ooh no, something went wrong!