top of page
Extracting lengths by referring to object filters
IMPORTANT: For EngView
to apply a filter, it must be of the Shared type. Learn more about
how
to make a filter Shared (Step 3).
| For |
Use |
| 1up |
OneUpN.LengthByFilter(FilterName, units) |
| Layout |
LayoutN.LengthByFilter(FilterName, units) |
- THE PARAMETERS
- FilterName: The name of the filter. Learn how
to create and apply
filters. After you have created a filter, here type
its name.
- Units: The measurement units in which EngView will
compute the result. To use the default
units, leave the argument empty.
- Know your list separator: When typing a formula, make sure you separate
its elements with your computer's list
separator symbol. Yours may be different from the one used in this
guide. Examples (in red):
| With Semicolon |
With Comma |
| $Layout1.Length(Cutting; m; yes);
n2$ |
$Layout1.Length(Cutting, m, yes),
n2$ |
Examples
The formulas extract the lengths of objects in the Layout1 predefined area.
| Filter Name |
Units |
Precision |
Use |
Example |
| Circles15 |
Default |
Default |
$Layout1.LengthByFilter(Circles15)$ |
7316.75 |
| Arcs>20 |
Default |
0 |
$Layout1.LengthByFilter(Arcs>20), n0$ |
7317 |
| Circles>105 |
Centimeters |
Default |
$Layout1.LengthByFilter(Circles>105, cm)$ cm. |
7.32 cm. |