Jump to content
rusty

Measuring areas

Recommended Posts

rusty

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

Share this post


Link to post
Share on other sites
CADTutor

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

Share this post


Link to post
Share on other sites
fahim108

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! :)

Share this post


Link to post
Share on other sites
rusty

That should help a lot - Thanks!

Share this post


Link to post
Share on other sites
slimjramirez

:D

:twisted:

8)

I love this forum.

never fails meh.

Share this post


Link to post
Share on other sites
tzframpton
:D

:twisted:

8)

I love this forum.

never fails meh.

 

 

:sick:

:cat:

:luck:

:baubleb:

:bloodshot:

:nuke:

Share this post


Link to post
Share on other sites
Raggi_Thor

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

Share this post


Link to post
Share on other sites
Hefron

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?

Share this post


Link to post
Share on other sites
ReMark

A block or a label?

Share this post


Link to post
Share on other sites
Raggi_Thor

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.

Share this post


Link to post
Share on other sites
Raggi_Thor

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.

Share this post


Link to post
Share on other sites
ReMark

You could use Lee Mac's custom lisp routine called Area Label found here...

 

http://www.lee-mac.com/arealabel.html

 

It has a couple of unique features you might find interesting.

Share this post


Link to post
Share on other sites
Hefron

Yes I have heard about Bricscad but I know that this option is included in AutoCad. Thanks anyway, I will try this solution.

Share this post


Link to post
Share on other sites
Raggi_Thor

BcadAttdefFieldArea.jpg

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

Share this post


Link to post
Share on other sites
Ridation

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 ?

Share this post


Link to post
Share on other sites
ReMark

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

Share this post


Link to post
Share on other sites
Ridation
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 ...

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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