Print Page | Close Window

calculating area with field

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=2494
Printed Date: 21.May.2026 at 08:01


Topic: calculating area with field
Posted By: franciscorefosc
Subject: calculating area with field
Date Posted: 01.Oct.2009 at 14:45
hello guys,
this is my first post here.
i have a doubt and i can find an answear on internet.
i draw my cad files in CENTIMETER.
all texts and dimmensions i insert on the LAYOUT.
i created a FIELD that calculates the area of a closed polygon, which i insert on the LAYOUT and it refers to a polygon on the MODEL.
so far, everything works fine.
the thing is that this field calculates the area in SQUARE CENTIMETER, and i need it to calculate SQUARE METER.
lets say there is a square of 2m x 2m (which i draw 200cm x 200cm), the area should be 4.00m2. instead, it calculates 200cm x 200cm = 40000cm2.
its correct, but i would like to see the result as SQUARE METER, or 4.00m2
So i found out that i could use "SCALE FACTOR" on the field properties, and change the factor from 1 to 0.0001.
then it works fine, it shows as i want.
but.... there is an issue.
when i copy and paste this field, to calculate the area of another closed polygon (which would be another room of the house, lie bathroom, bedroom, kitchen or something else), i need to point the FIELD to the new polygon i want it to calculate. when i do it, the FIELD loses the "SCALE FACTOR" that i had eddited before, so i need to manually change againg the factor of "SCALE FACTOR" from 1 to 0,0001.
as i have to calculate the area of several rooms of the houses i design, it takes a long time to go and edit the factor of "SCALE FACTOR" one by one.
i also tried to change the ambient scale, but could make it work as i need.

what do you guys recommend?

thanks a lot,



Replies:
Posted By: Vladimir Michl
Date Posted: 01.Oct.2009 at 16:06

You can try our fArea utility - see:
http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5387 - http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5387

Use:
(setq _FAREAFACTOR 0.0001)
before running the FAREA command.


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: franciscorefosc
Date Posted: 01.Oct.2009 at 17:04
thanks for the quicky reply.
 
i was able to use FAREA
 
but again, if i copy and paste the text showing the area, and try to edit it to make it show the area of another object, it looses its properties, and the scale factor...
 
so its happening the same thing as before...


Posted By: Vladimir Michl
Date Posted: 01.Oct.2009 at 18:00
fArea makes it easier to just re-create the new label from scratch, not copy it.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner


Posted By: franciscorefosc
Date Posted: 08.Oct.2009 at 17:30

i cant make this FAREA work when im on LAYOUT, using as viewport to see a polygon in the model.

 
any tips?



Print Page | Close Window