minimum allowed text height in lisp

minimum allowed text height in lisp

Anonymous
Not applicable
527 Views
2 Replies
Message 1 of 3

minimum allowed text height in lisp

Anonymous
Not applicable

Hello.

In one of my lisps, previous programmers had set the text height to 0.006. As a result, because of the type of work we're doing, we need to scale it down after we're finished using the lisp. 

Is there a minimum height allowed in AutoCAD for using lisps? 

I.e., can I reduce the height to 0.002, 0.003, or something smaller than 0.006?

 

Thank you.

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

leothebuilder
Advisor
Advisor

Change the lisp file in a text editor........e.g. reduce the text height to what you need

0 Likes
Message 3 of 3

Anonymous
Not applicable

Hi LeoTB.

I have. 

I've changed it to 0.002, but what that's doing it adding the input value to the 0.006, making it the input value plus the 0.006. 

So, even if I input 0.003, my final height is 0.009, not 0.003.

 

 

 

(if h
    (progn
       (while (< h 0.002)
          (alert msg5)
          (initget (+ 2 4))
          (setq h (getreal msg4))
          (if (null h)
             (setq h 0.002)
          )
       )
       (setq scf (/ h 0.002))
    )
    (setq scf 1)
 )

and yes, I've reloaded the lisp each time I make a new change. 

TYIA.

0 Likes