Jump to content

Measuring areas


rusty

Recommended Posts

I need to calculate the areas within a set of lines that form a closed area.

 

1. How do I do that?

 

2. Do I need to create a polyline around the area, or is lines enough?

 

I use AutoCad Map 2000i

Thanks in advance

Link to comment
Share on other sites

  • Replies 21
  • Created
  • Last Reply

Top Posters In This Topic

  • ReMark

    5

  • Raggi_Thor

    5

  • Ridation

    3

  • rusty

    2

Top Posters In This Topic

Posted Images

You cannot calculate the area bounded by lines, so you will need to use polylines. Check out the BOUNDARY command as this could be used to create closed polylines from your lines. Also have a look at the AutoLISP archive for a routine that will calculate total area from all polylines on a specific layer.

http://cadtutor.net/forum/viewtopic.php?t=1505

Link to comment
Share on other sites

If the shape isn't much complicated, try using the AREA command. Then pick up all the corners (end points) of the shape, one by one, along the perimeter, and hit enter. Although this is a tedious process and doesn't work for curved boundaries, still knowing about it is better! :)

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

It's an interesting question, even if it's old now.

 

 

 

You can do it manually like this:

Command: bo BOUNDARY + ENTER

Select internal point: (Click)

BOUNDARY created 1 polyline

 

Command: area

Specify first corner point or [Object/Add/Subtract]: o

Select objects: last

Area = 17500000.000, Perimeter = 17000.000

Command: (/ (getvar "area") 1000000.0)

17.5

(This means the area in square meter is 17.5 if the drawing unit is mm)

 

 

 

 

 

 

Or you can make a new button (Command: CUI) with a macro like this:

^C^C-Boundary;\;Area;O;Last;Erase;Last;;(/(getvar "area")1000000.0);

The Lisp part doesn't work in LT (unless you install LT Extender).

Normally you would make a block for room info if you are working with buildings. STATSBYGG in Norway has made a block for room number, function, area etc. that they demand that you use in their projects. They manage "all" public buildings in Norway.

 

mvh, Kvedja, Kind Regards,

Ragnar Thor Mikkelsen

www.DESIGNDATA.no

Link to comment
Share on other sites

  • 4 years later...

Can anyone tell me how can I link block to an area so when I change the size of an area the values in block will update automatically?

Link to comment
Share on other sites

These are the commands you use,

ATTDEF to define the attributes.

This command has the option to use a FIELD as a default value.

In the FIELD dialog, select obect, select your pline, the select Area and formatting if you like.

Then define your block.

 

The problem is that all instances of this block, every insert, will be linked to that one pline you selected.

 

I did this in Bricscad, but I bet AutoCAD is practically idential.

Link to comment
Share on other sites

If you make one block linked to one object, then copy-paste both the block insert and the object, you have a new link between the two copies.

Link to comment
Share on other sites

  • 8 months later...

Ok , I read all posts but I am in a particular situation ,

 

I am working on an urban planning project , and have lots of small areas and I can not use area command for each small area , is there any other command to calculate all the areas together using for example hatches ?

Link to comment
Share on other sites

You're looking for a lisp routine that will spit out the sum total of all the areas. One number. Yes?

 

yes , exactly . I am checking "lee mac" web site but I am in a little hurry ...

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...