View Full Version : Formula using an Object's Area Field
2006-03-16, 06:46 PM
I am using a Polyline area field for showing the square footage, but I would also like to add another function tied to that field (in Mtext) that divides it by 7. Is there a way to include a field into a formula or lisp expression? Thanks for any ideas.
2006-03-16, 11:09 PM
What version of AutoCAD?
Using 2006 and up, you can apply simple math to FIELD results.
BTW: this topic is covered in Segment 2 of ATP110 this month
2006-03-17, 06:44 PM
Thank you for the information. I had to take it a bit farther in that the Field returned the area in square inches so I had to make two divisions on it. I ended up taking 1/144 and then dividing that by 7 to get the decimal reduction factor. I copied this from the calculator and pasted it into the conversion factor space. Thank you for your help in getting the cobwebs cleared.
2006-12-11, 06:29 PM
I am using AutoCAD 2004, and I would like to create a field that converts the AREA (assumed to be Millimeters) to Meters. The resulting label will be a field displayed something like 53.25 Square Meters.
My current field expression is, for example:
%<\AcObjProp Object(%<\_ObjId 2130222152>%).Area \f "%lu6%qf1">%
This yields a field displayed something like 53249996 square millimeters
Can anyone assist with the field expression to express the area in SM?
I have reviewed a file showing field format strings, and there is an automatic conversion for feet/inches, but I need a conversion for metric...
2006-12-12, 06:54 AM
Have you browsed / reviewed the following threads...
Fields - Format area in Metres
Fields - Format area in Sq Metres
Customization of Fields - It is Possible!
Field gives me square units (meters), but I need hectare (=Sq.Meters/.0001)
Have a good one, Mike
2006-12-12, 01:26 PM
Mike - thanks for pointing me to those threads. Some I had seen, others no, but it seems that there is still no solution for my problem since i am using AutoCAD 2005 and not 2006... If you or anyone else can help further, it will be much appreciated.
2007-11-22, 09:04 AM
Hiya, I'm using AutoCad 2005 and am also trying to convert the annoying 150000 to 15 (sq cm to sq m) in my field. I have understood that as of ACAD2006 you can punch in a multiplier which would make my problem inexistant, but how to do it in ACAD2005?
I've been messing with formulas to insert into mtext, but I haven't found the one that will multiply the output by 0.0001 (in my case).
Please please can anyone help?
PS I have been searching through the topics for 16 hours now!
2008-01-17, 04:44 PM
I have a simillar problem. Is it possible to INSERT--> FORMULA-->CELL and choosing a table cell containing text?
Powered by vBulletin® Version 4.1.11 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.