Author Topic: Dynamic text size  (Read 370 times)

0 Members and 1 Guest are viewing this topic.


  • Newt
  • Posts: 47
Dynamic text size
« on: April 18, 2021, 07:46:26 AM »
Hi everyone,
I'm interested to know if it is possible to set size of the text dynamically via Autolisp??

Actually I have been using a fixed text size or getting a size from user in my programs, Now I would like to set appropriate size to text automatically by Autolisp, mostly based on an object's property, for example closed polyline's area. like the attached image:

I guess I should use polyline's area to  set this dynamically, but I don't know how I can do it.

Can someone help with  my project?
Thanks in advance.
« Last Edit: April 18, 2021, 12:18:03 PM by civil.eng »


  • Swamp Rat
  • Posts: 830
  • 30 + years of using Autocad
Re: Dynamic text size
« Reply #1 on: April 18, 2021, 10:33:05 PM »
Have you looked at annotative text that is what it was created for to autoscale.
A man who never made a mistake never made anything