Jump to content

Totalling Attribute values of same blocks.


GCarr78

Recommended Posts

To all (using AutoCAD 2010),

 

I've searched the forums and I haven't seen this problem mentioned. So here it goes.

 

I have a attributed block with multiple attributes (called pkey). In some cases these block attributes will the same values save for one, "Total".

 

example:

 

pkey #1

Value AA, Value BB, Value CC, Total 20

 

pkey #2

Value AA, Value BB, Value CC, Total 30

 

Is there a way by which I can have AutoCad group these blocks together (when extracted into a table for example) and have the SUM of those "Totals" added together to produce a result such as:

 

Value AA, Value BB, Value CC, Total 50.

 

I've explored using fields, but I don't think they work in this case, unless I'm using them wrong.

 

Any help would be great!

Link to comment
Share on other sites

Using lisp it would be pretty simple for all blocks "Pkey" add the "Total" up and put somewhere, maybe post a dwg of what you would like Table, text, Attribute etc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...