Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto-Sum Multiple Field Results

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
EngMW01-2023
3812 Views, 8 Replies

Auto-Sum Multiple Field Results

I'm wondering if it is possible to do the following.

 

I often need to understand the square footage of closed polylines.  I can easily have that result using the "FIELD" command to show the square foot area of a selected polyline.

 

Let's say I have three rectangles and each has a field that displays the square footage of each.  Is there a way I can have AutoCAD total those numbers and display it so I can see the combined square footage of all three?

 

Ideally I'd have a field for the square footage and a field for the total length of the selected geometry for each rectangle.  These would be pre-determined in a library and I'd just be stretching the sizes so I don't need to automate the selection process.

 

Thoughts?

 

Thanks for any help/input/suggestions!

Labels (1)
8 REPLIES 8
Message 2 of 9
rkmcswain
in reply to: EngMW01-2023

Apparently, DATAEXTRACTION is not enabled in AutoCAD LT (which would be the solution)

 

You might take a look at this:

 

https://forums.autodesk.com/t5/autocad-lt-forum/alternative-to-data-extraction/td-p/8989292

 

 

R.K. McSwain     | CADpanacea | on twitter
Message 3 of 9
pendean
in reply to: EngMW01-2023

There is no level of automation in Lt that would make that any faster than you using a calculator on your PC/Phone/Desk.

Unless you always want to create a Table then add a formula SUM field at the bottom.
Message 4 of 9
EngMW01-2023
in reply to: rkmcswain

Gotcha.  So this would be possible with a full seat of AutoCAD?

Message 5 of 9
pendean
in reply to: EngMW01-2023

>>>...So this would be possible with a full seat of AutoCAD?...<<<
Explore https://www.google.com/search?q=autocad+lisp%3A+sum+of+total+fields
Message 6 of 9
EngMW01-2023
in reply to: pendean

Thanks guys!

Message 7 of 9
steven-g
in reply to: EngMW01-2023

The 'area' command gives you the option to choose 'add area' if you then also choose the option 'object' you can keep selecting objects until you press enter and you will be given a total for all the selected objects. You can also subtract.

 

Another way would be to use the hatch command and make sure 'create separate hatches' is NOT ticked, then either use the select objects or pick points method to choose the areas to measure. The advantage of using hatch is you also then have a visual reminder of the areas selected and you can place the value into a 'field' by selecting the hatch (and use color coding for different areas).

Message 8 of 9
EngMW01-2023
in reply to: steven-g

Great suggestions as well.

 

What I wanted to do was to embed those fields into a common assembly.  Cabinetry to be exact.  So when one of my drafters drop in cabinets and stretch them, I could have a square foot total for each door/drawer front and then add all of them up to get a total square footage for material.  It wouldn't be 100% spot on but would get me in the ballpark when estimating material.

 

I was really just looking for a low key, non-parametric way to get some info quickly.

Message 9 of 9
steven-g
in reply to: EngMW01-2023

Using a hatch will allow you to get the hatch area into a field, and stretching the polylines will also adjust an associated hatch which will update the field after a regen.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report