I create a lot of fields that reference a polyline's area and I'm constantly having to change the default formatting values. I would like it to default to an Architectural format, WITHOUT the appended "SQ. FT." (which often takes up too much space), with a precision of 0 and using a comma as the Thousands Separator.
Is there any way to set these default values?
Thanks,
Dan
Try this lisp. When you run (aaa) it select the text (or attribute) you want the area to show up in then select the polyline which the data will come from. This will not work with text that is in a block if it is not an attribute. You cam also edit the underlined string in red in the lisp to change around some of the values:
(setq str (strcat "%<\\AcObjProp Object(%<\\_ObjId " objID ">%).Area \\f \"%pr0%lu2%ct8[0.00694444444444]%th44\">%"))
-Steve
Please mark as solved if this works for you.
That AAA.lisp works. However, I have a text field in Paper Space but the object (pline) is in model space. I couldn't select the object through a viewport. Is it possible to add function to select object in the model space through a viewport on that AAA.lisp? Thanks in advance.