Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple edit of an autolisp

2 REPLIES 2
Reply
Message 1 of 3
thinh8788V
196 Views, 2 Replies

Simple edit of an autolisp

Hello everyone, i found this lisp from LeeMac Aligntext

The input number of the lisp is the X number of times of text height

Can anyone edit this to input the actual Value instead of X times of heigh

2 REPLIES 2
Message 2 of 3
hak_vz
in reply to: thinh8788V


@thinh8788V wrote:

The input number of the lisp is the X number of times of text height


Input is spacing factor that multiplied with text height  defines vertical distance between lines of text

1, 1.5 2

 

If you want to define absolute distance between lines of text i.e distance between insertion points than: 

 

In your lisp file do following:

1) erase line of code

spf (if spf (* (cdr (assoc 40 enx)) spf))

2) Change text

"\nSpecify line spacing factor <use existing>: "

to

"\nSpecify absolute value of line spacing : "

 

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.
Message 3 of 3
paullimapa
in reply to: thinh8788V

Since code is copyrighted by the author, perhaps contact Lee Mac for an answer:

Author: Lee Mac, Copyright © 2013 - www.lee-mac.com


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report