Not sure I'm in the right forum, but looking for a routine that will calculate the area of an object and return a value as mtext within that area.
Thanks
|
Not sure I'm in the right forum, but looking for a routine that will calculate the area of an object and return a value as mtext within that area.
Thanks
Yes, the field command will do the trick, Ideally looking for a routine that would prompt to draw a polyline or a rectangle, then calculate the area and place the field / data in the center. 1 move instead of 4, since I have many objects to calculate
Thanks
That routine works very well, thanks,
I can't read the promt though (it's a language other than english)
Or to combine the lisp & fields: place a field inside a MText (DText or Attribute) you could use mine: http://forums.augi.com/showthread.php?t=98524
Allows for multiple objects in one area (addition & subtraction). And because it creates a field its value updates if you had changed the objects - no need to do the command again, just a regen should do.
I've written one that allows you to select polylines. So you would draw your polyline(s) and start by typing area2 select pline, select text point and so on. hit Escape to end.
BTW it automatically creates a SQFT layer and puts the plines and text on that layer.
I've loaded your lisp routine that was in the thread that you linked to and I have one question. Is there any way to revise it so that is works in Architectural measurements rather than decimal? I noticed you can switch from m to mm, but I can't figure out how to switch to feet and inches.