LISP to return Acres instead of SQ FT.

LISP to return Acres instead of SQ FT.

Nathan_Tigner
Advocate Advocate
649 Views
4 Replies
Message 1 of 5

LISP to return Acres instead of SQ FT.

Nathan_Tigner
Advocate
Advocate

I use a lisp that I really like by Jimmy Bergmark at JTB World. It returns the area of an object as a field in square feet. 

Below is the code for the area in square feet. I would love to be able to change it to acres, but I am having a hard time getting it to work. Any of you wizards able to help me? I will attach the full lisp.

 

(setq jtbfieldformula ">%).Area \\f \"%pr2%lu2%ct4%qf1 SQ. FT.\">%")

0 Likes
650 Views
4 Replies
  • Lisp
Replies (4)
Message 2 of 5

pendean
Community Legend
Community Legend
Help yourself to posted solutions while you wait https://www.google.com/search?q=autocad+sq+ft+in+acres
0 Likes
Message 3 of 5

ВeekeeCZ
Consultant
Consultant

Just use the FIELD command, create some field, make a setting (formatting) as you like, and copy the field expresion here.

0 Likes
Message 4 of 5

hak_vz
Advisor
Advisor
\\f "%lu2%ps[,acre]%ct8[2.29568e-7]">%

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 5 of 5

JTBWorld
Advisor
Advisor

@Nathan_Tigner @Good to hear you like it. You find links on the AreaText.lsp page for how to customize it. 


Jimmy Bergmark
JTB World - Software development and consulting for CAD and license usage reports
https://jtbworld.com

0 Likes