Display full version of the post: calculating area with field

franciscorefosc
01.10.2009, 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.00m2So 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,

Vladimir Michl
01.10.2009, 16:06
You can try our fArea utility - see:http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5387
Use:
(setq _FAREAFACTOR 0.0001)
before running the FAREA command.

franciscorefosc
01.10.2009, 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...

Vladimir Michl
01.10.2009, 18:00
fArea makes it easier to just re-create the new label from scratch, not copy it.

franciscorefosc
08.10.2009, 17:30
i cant make this FAREA work when im on LAYOUT, using as viewport to see a polygon in the model.
 
any tips?