eplisp

Sum Attribute Values

eplisp, the free multilingual LISP library

Sum Attribute Values
The author does not allow redistribution; download the file from the author's own site.
…
Rate this tool:
CommandsATTSUM
CategoryBlock Tools
AuthorLee Mac
SourceLee Mac Programming
LicenseAuthor's terms of use
Version1.1
RequirementsAutoCAD (full version) or AutoCAD LT 2024 and later; not for AutoCAD for Mac
Prompt languageEnglish
Added2026-10-26
Go to the author's page ↗

Adds up numeric attribute values in selected blocks, grouped by tag, and writes the totals to an AutoCAD table in the current style.

Sum Attribute Values is a Lee Mac AutoLISP program that totals numeric values in attributed blocks. It suits anyone who wants totals of, say, power, quantity or area values from device blocks shown in a table inside the drawing.

Overview

You select standard or dynamic attributed blocks, and the program sums the numeric values grouped by tag. When several tags hold numbers, a dialog lets you choose which go into the table. The table uses the current table style and lists one tag and its total per row.

If the program is set to use field expressions, totals update when attribute values change, but adding or removing blocks is not reflected. The formatting code can be changed at the top of the file.

How to use it

  1. Download the .lsp file from the author's page and load it into AutoCAD with APPLOAD.
  2. Type ATTSUM at the command line.
  3. Select the attributed blocks.
  4. Choose the tags if asked and place the table.

Notes and limitations

  • It adds a new table to the drawing and needs an AutoCAD version with table objects.
  • Blocks added or removed later do not update the table.

Source and license

This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.

The author allows free use for yourself or within your organization; redistribution needs written consent, so we only link to the author's page.

References

  1. Lee Mac Programming (author's page) – https://www.lee-mac.com/sumattributes.html
  2. Author: Lee Mac – https://www.lee-mac.com/
  3. License: Author's terms of use – https://www.lee-mac.com/terms.html

Found a mistake, or are you the author of this tool? Request a correction or removal