• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD 2010/2011/2012 DWG Format

    Reply
    Member
    Posts: 3
    Registered: ‎03-13-2012

    Batch Area Calculations

    174 Views, 3 Replies
    03-13-2012 01:05 PM

    I am using autocad to find areas of a stream cross section such that when we take a water height measurement of the stream in the field, we can easily get the area from a spreadsheet since the cross section of the stream at any height will be known (once I get done in AutoCAD).
    To further illustrate my needs, I have attached a picture. I need all the seperate areas between the red lines (the red lines are equally spaced vertically and have lengths that go end to end to the edges of the stream).
    I have been hatching between the red lines and taking the areas of each hatched object. However, this is a slow and tedious process.
    Hatching is not the issue because I can hatch multiple objects at once using the create seperate hatch option.
    What I need is a way to list all the hatched object's areas into a text file so that I can easily copy and paste them into an excel file. Even if it is not a nice and neat list, I can atleast use a find for "area" to get them into a nice list a little faster.
    Any Ideas?
    Thanks, Mylescross section for forum.jpg

    Please use plain text.
    *Expert Elite*
    PaulMunford
    Posts: 671
    Registered: ‎11-13-2006

    Re: Batch Area Calculations

    03-14-2012 12:32 AM in reply to: MylesMc

    Could you use a table with feilds? Check out this post by Shaan Hurley:

    http://autodesk.blogs.com/between_the_lines/2010/02/displaying-the-hatch-area-with-a-field-in-autoca...

     

    Or are you looking for a more automated soloution?

     

    NB: you can get the cumulative area by opening the properties pallette and selecting all the hatches.

     

    NBB: You can use this 'LIST' command to get the properties of multiple objects. You could copy and paste this into a text file and then use 'find' to get the properties you are looking for.

    The CAD Setter Out Blog
    @CadSetterOut
     
    Please use the Mark Solutions! Accept as Solution or Give Kudos! Kudos functions - Thank you!
    Please use plain text.
    Member
    Posts: 3
    Registered: ‎03-13-2012

    Re: Batch Area Calculations

    03-14-2012 08:20 AM in reply to: PaulMunford

    First of all, Thank you for your time and help. I will now comment on each proposed solution you graciously offered.

     

    First Proposed Solution "Table with Fields": This method only allows for the area to be displayed for one object at a time and therefore doesn't save me any time. Each hatch will have to be seperately manually selected and set to display its respective area.

     

    2nd Solution "NB": I need individual areas for each hatch between the red lines.

     

    3rd Solution "NBB": I'm not sure if I'm using the list command properly because I get a summary of some of the objects selected. I have selected all hatches with all other layers off. I then type list and get a text window. I will paste the text I recieved below, but understand I have two layers of hatches selected: ".1 ft channel area hatches above water" and ".1 ft channel area hatches below water". However, my LIST summary makes no mention of the later layer in the summary, and only gives me a summary of the 1st layer mentioned.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------

     Here is the LIST Comand text:

     

    Command: LIST 329 found

                     

     HATCH     Layer: ".1 ft Channel Area Hatches above water"                             Space: Model space                    LineWeight: 0.05 mm                    Handle = 15a8                  Hatch pattern SOLID                  Associative                  Area      12.8000                  Origin    X=   0.0000  Y=   0.0000  Z=   0.0000

                     

     HATCH     Layer: ".1 ft Channel Area Hatches above water"                             Space: Model space                    LineWeight: 0.05 mm                    Handle = 15a3                  Hatch pattern SOLID                  Associative                  Area      12.8000                  Origin    X=   0.0000  Y=   0.0000  Z=   0.0000

                     

     HATCH     Layer: ".1 ft Channel Area Hatches above water"                             Space: Model space

     

    ----------------------------------------------------------------------------------------------------------------------------------------------------------

     

    Any further help on using the LIST Command to get indiviual areas for all selected hatches indivual areas would be appreciated.

     

    Thanks Again.

     

     

     

    Please use plain text.
    Member
    Posts: 3
    Registered: ‎03-13-2012

    Re: Batch Area Calculations

    03-14-2012 08:54 AM in reply to: MylesMc

    Ok, I have discovered my error using the LIST Command, I just needed to press Enter to continue the output of the LIST. (I'm getting somewhere now. :smileywink: )

     

    However, the order in which the areas are listed in the LIST is crucial.

     

    Should I set a coordinate system or use some other method to ensure I know the correct order the LIST presents the Areas?

     

    Please use plain text.