Getting the sum of attribute values.

Getting the sum of attribute values.

mlfgale
Enthusiast Enthusiast
4,781 Views
5 Replies
Message 1 of 6

Getting the sum of attribute values.

mlfgale
Enthusiast
Enthusiast

We have blocks that we use for defect locations. The block has an attribute for a number that is the linear feet (or sf) of a defect area. Is there a way to get the sum of the attribute for all of the blocks into a table? I've messed around with fields and found a script that can do it, but I'd like to not have to use a script each time (which makes me have to select the defects, and there are many different ones) to update it when we add more defects. Thanks for any help you can provide.

 

Mark

0 Likes
Accepted solutions (1)
4,782 Views
5 Replies
Replies (5)
Message 2 of 6

ВeekeeCZ
Consultant
Consultant
Explorer the DATAEXTRACTION command
0 Likes
Message 3 of 6

john.vellek
Alumni
Alumni

HI @mlfgale,

 

@ВeekeeCZ's suggestion of Dataextraction is what I suggest as well. If you have a sample file that contains this data I am happy to explore and demonstrate how you might get this to work.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 4 of 6

john.vellek
Alumni
Alumni
Accepted solution

HI @mlfgale,

 

I haven't seen an update so I created an attributed block, ran a data extraction and then exported to Excel to add the SUM. In addition, if you select the last row of the table and insert a row below it, unlock it, then you can add a formula that will create the SUM. No need to even export outside of the drawing file!

Capture.PNG

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 5 of 6

mlfgale
Enthusiast
Enthusiast

Thanks for your help!

0 Likes
Message 6 of 6

ВeekeeCZ
Consultant
Consultant

HERE is quite a recent thread how to sum a table column within autocad and dynamically. 

0 Likes