Formulas extracting areas

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

The formulas

Drawing Formula
1up OneUpN.Area(units; StyleName)
1up, holes area considered OneUpN.AreaEx(yes/no; units; stylename)
Layout LayoutN.Area(units; StyleName)

Examples

To print the area of Use Example
Closed contour in the Cutting style and its child styles in OneUp2. $OneUp2.Area()$ sq. mm. 400.00 sq. mm.
Contours enclosed by objects in the Cutting style and its child styles in OneUp2. $OneUp2.Area(cm)$ sq. cm. 50.00 sq. cm.
Layout1 in sq. m. and precision 3. $Layout1.Area(m); n3$ sq. m. 0.830 sq. m.
Area defined by objects in the Plotting style in Layout1. $Layout1.Area(m; Plotting)$ sq. mm. 730.00 sq. mm.
Closed contour in the Cutting style and its child styles in Layout1, holes area excluded. $Layout1.AreaEx(Yes; mm)$ sq. mm. 450.00 sq. mm.

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