• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

obtain area in square meters from drawing in mm

  • Thread starter Thread starter Mano63
  • Start date Start date

Mano63

Guest
Good afternoon,
with this lisp (Annex) I get the area of all closed polylines (in text) with only one selection. being the areas e.g. side 1000, 2000, 3000 4000 units, the express area is 1000000, 4000000, 16000000 etc.. (see first figure)who helps me to insert in the list a coefficient "x 0,000001" or "/1000000" so that the text is 1, 4, 16? (v. fig. 2)
1635944481469.webpThe text is also represented in the centre. can you get as in figure 3 or, even better, as in figure 4?

thanks to all good souls!
 

Attachments

content of the coefficient, replaceareaobj (vla-get-area entnamevla)
con(vla-get-area entnamevla) 1000000.)
 
...perfect like always!
Referring to the coefficient: 100,000 thanks!
to have 2 decimals separated from one point (eg. 20.25) I ask too much? (without any rush, of course)
 
Last edited:
I haven't woken up this morning. My message just doesn't make any sense. I corrected the settings.
Thank you.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top