List area of hatching lisp?

Discussion in 'AutoCAD' started by ~Jeff~, Jan 19, 2004.

  1. ~Jeff~

    ~Jeff~ Guest

    Does any have or know of a lisp that gives you the area of hatching by
    selecting the hatch itself (when no boundary is present)? Or is this type of
    thing not possible in AutoCAD?

    Detail:
    I have a series of hatches on a map drawing, which depending by color
    indicates road, building and other. The engineer wants me to tell him the
    square footage of each group (ex. total square footage of road, total square
    footage of building). We received this drawing from a the client. There are
    quite a few hatch areas (tiny, small & large) all without boundaries. I can
    freeze all but one of the hatch area layers. I'd like to be able to select
    all the hatch and have AutoCAD tell me the total area of the selected
    hatched areas ....if it is even possible.

    I have tried looking for a lisp, but no luck

    Thanks for any help in advance
     
    ~Jeff~, Jan 19, 2004
    #1
  2. Hi Jeff,

    Try HatchB, from www.jtbworld.com,
    this lisp will recreate the hatch boundary, and after that you can obtain
    the area of the plines

    Saludos

    Marco Jacinto
     
    Marco Jacinto, Jan 19, 2004
    #2
  3. ~Jeff~

    nabil Guest

    Jeff,
    I do not think there is a direct method to get the areas covered by hatches.
    Did you try to read any extended data that may have been saved with those
    hatches?
    If you do you may notice something like (72 . 1) (10 23406.8 -7387.89 0.0)
    (11 26040.1 -7387.89 0.0) which defines one boundary. I am not sure if this
    dependant on the way those hatches were made. However that is a boundary
    which you can assemble it with other boundaries and create it then read its
    area.

    Nabil.
     
    nabil, Jan 19, 2004
    #3
  4. ~Jeff~

    R.K. McSwain Guest

  5. ~Jeff~

    Rakesh Rao Guest

    Hi Jeff,

    If you are willing to consider a third party tool, there is a solution
    to this in our GeoTools program. The GT_HATCHBOUND command re-creates
    hatch boundaries from hatch objects as closed polylines. The area of
    these closed polylines will give you the area enclosed by the hatch object.

    You can download a eval version at this URL:

    www.4d-technologies.com/geotools

    If you need a more tweaked solution, email me with more info.

    Regards
    Rakesh



    --

    AutoCAD customization for Engineering/Mapping/GIS
    Get GeoTools @ http://www.4d-technologies.com/geotools
    Build MyGeoTools @ http://www.4d-technologies.com/geotools/my_geotools.htm
    FREE downloads : http://www.4d-technologies.com/techcenter
    </PRE>
     
    Rakesh Rao, Jan 20, 2004
    #5
  6. ~Jeff~

    ~Jeff~ Guest

    I already have a routine that does what your saying. I was hoping to save
    time by eliminating the steps of boundary re-creation then listing them
    individually. It can be very time consuming to re-boundary 40 or more
    hatches and then list each one for the area ...then add the areas together.
    I was hoping there was such a monster that would give you the area of the
    selected hatches ...a one shot deal.

    Thanks anyway,

    ~Jeff~
     
    ~Jeff~, Jan 20, 2004
    #6
  7. Have you tried hatchb.lsp from my site? You have to get the latest version
    that is online there. The total area is returned even if you select multiple
    hatches.

    --
    Best Regards, Jimmy Bergmark
    CAD and Database Developer Manager at www.pharmadule-emtunga.com
    Take a look at
    JTB FlexReport (FLEXlm report tool) - www.jtbworld.com/jtbflexreport
    SmartPurger (Purges automatically) - www.jtbworld.com/?/smartpurger.htm
    or download some freeware at www.jtbworld.com
    More on AutoCAD 2004;
    www.jtbworld.com/autocad2004.htm
    www.jtbworld.com/autocad2004tips.htm
     
    Jimmy Bergmark, Jan 20, 2004
    #7
  8. ~Jeff~

    Mikky Roe Guest

    Mikky Roe, Jan 21, 2004
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.