lisp to get area and perimeter

lisp to get area and perimeter

S_S_SS
Advocate Advocate
645 Views
2 Replies
Message 1 of 3

lisp to get area and perimeter

S_S_SS
Advocate
Advocate

hi every one
i want a lisp to get area and perimeter and put it inside the objects and make it in meter unit and scale text to 1000 to be clearly displayed 
like that image to clearly explain what i want 
thanks in advance 

02.PNG

0 Likes
646 Views
2 Replies
Replies (2)
Message 2 of 3

Ed__Jobe
Mentor
Mentor

First, this is not the LISP forum.

 

You don't really need to program this. You can just use fields. First, create a text style with the properties you want. Then place an MTEXT at the center and insert a field. In the field dialog, select (1) Object, (2) select the object and then (3) the property to display. Repeat for the other property.

2021-08-17_10-43-35.png

 

If you want to use VBA, I dealt with this issue a while back.

Ed


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.
How to post your code.

EESignature

Message 3 of 3

S_S_SS
Advocate
Advocate
thanks sir ...
i know the field but i have many polyline and polyline change from drawing to another
i can use list command and get what i want
dut i want to get a lisp to reduce my effort about that
thanks very much for your help
0 Likes