Properties (.NAME)
A property of a value by name: an element's point, a fillet's centre …
Syntax
value.NAME
| Argument | Meaning |
|---|---|
| value | An element (@5), or the result of an expression such as FILLET. |
| NAME | The property, in any case. |
Result
The property's value; an element's point (START, END, CENTER …) as its position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
@5.START |
[0,0] |
@5.END |
[100,0] |
FILLET(@5,@7,40).CENTER |
[35.2786,40] |
Notes
For an element, .START and .END are its own points; the points it is defined by have the names its file line gives them (a circle's .CENTER, a Bézier's .CONTROL1 …).
For a part placed in the drawing, .P3 is a point of the part's own drawing, placed where the part is (moved, turned, or fitted to its part markers) and worked out with the part's values: P10=@5.P3. It follows the part when the part is moved, and the part's drawing when that changes. Snapping to a part's point makes one of these for you.
A list or dictionary has .COUNT; a list .FIRST and .LAST; a dictionary .KEYS and
.VALUES.
See also: @n, FILLET, CHAMFERDISTANCES.