Skip to main content

Sum of areas

Sum of areas
This is a free plugin!
Calculating the count and total area of selected polylines, circles, arcs, splines, and hatches

Launch Options

  • ModPlus floating menu or palette
  • AutoCAD ribbon
  • Command line: _mpSumArea

Icon

mpSumArea_32x32 mpSumArea_16x16 mpSumArea_32x32_dark mpSumArea_16x16_dark

Related News and Articles

Using

The plugin calculates the total area of selected polylines, circles, arcs, splines, and hatches. Objects can be selected either before launching the plugin or while the plugin window is open. Calculation results are displayed in the plugin window:

1

The upper part of the plugin window displays the total area of the selected objects, the multiplier, the scale, and the final area calculated using the multiplier and scale. The final value field cannot be edited manually. Clicking it copies the final value to the clipboard.

When applying a scale to an area, it is important to note that the area changes proportionally to the square of the scale factor, not linearly. For example, if the area is 100 at a scale of 1:1, it will be 25 at a scale of 1:2, not 50.

When entering multiplier and scale values manually, either a period or a comma can be used as the decimal separator.

Closed objects only – when enabled, the plugin processes only objects that form a closed contour.

The contents of the Area by objects section, as well as the blocks for individual object types, can be collapsed and expanded using the buttons on the right side of the corresponding headers.

4 – insert the result as single-line text:

Insertion point: – specify the insertion point for the single-line text.

5 – insert the result into a table cell:

Select table: – select a table.

Select cell: – select the cell in which to insert the result.

average – export the arithmetic mean (including rounded results) for each object type and for all selected objects to a TXT file.

3 – export the result to a TXT file.

Objects – list of selected objects.

6 – zoom to fit the current object on the screen.

The cog (gray) button in the upper-right corner opens the plugin settings:

2

Decimal separator – specifies the decimal separator used when displaying results.

New
Added the choice of the decimal separator
New
Added copying of the total value to the clipboard by clicking the result field
New
Added the ability to collapse the window content
Improved
Added the ability to use both a dot and a comma to separate the fractional part in coefficients
Improved
Prohibited manual editing of the field with the total value
Fix
Fixed an error where fractional coefficients were not saved when the window was opened again
Fix
Fixed an error where a fractional coefficient selected from the list was not applied with some Windows regional settings
Fix
Fixed an error where a scale with a fractional part gave an incorrect total value with some Windows regional settings
Improved
The interface was migrated to the current version of the ModPlus styling library
Fix
Fixed a bug causing AutoCAD to shut down when switching to the start tab for document selection
New
Messages have been added when selecting unsupported hatches
Improved
Added support for Polyline3d, Polyline2d
New
Added the area of all objects to the export of results to a txt file