Formulas extracting length

The following formulas extract lengths in 1up and layout drawings.

Formula pattern

For Use
1up OneUpN.Length(StyleName; units; Yes/No)
Layout LayoutN.Length(StyleName; units; Yes/No)

Examples

See examples of how to write formulas for extracting lengths and set formatting for the results. All the formulas extracts the lengths of objects in the Cutting style.

To print the length of Use Example
All objects in Layout1. $Layout1.Length(m)$ m. 4.50 m.
All objects in all styles in OneUp2. $OneUp2.Length(); n3$ mm. 3600.307 mm.
All objects in all styles in Layout1. $Layout1.Length(cm); n0$ cm. 320 cm.

See the general rules for how to write formulas and format formula results.