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

Lisp Modification

3 REPLIES 3
Reply
Message 1 of 4
gbarfield
500 Views, 3 Replies

Lisp Modification

We have a lisp routine that places a vertical line in front of text and mtext.  I want to start using the multi-leader command instead of a customized leader.  Can anyone take a look at our routine and offer suggestions on modifying it so it can work with multi-leaders?  The lsp file is attached.

3 REPLIES 3
Message 2 of 4
andrew.nao
in reply to: gbarfield

replace

(COMMAND "LINE" ....

with

 

(COMMAND "MLEADER".... or whatever you want to use in place of "line"

 

Message 3 of 4
gbarfield
in reply to: andrew.nao

Should anything be done to the line near the beginning that is listed below?  Should anything about multi-leader be put in there?

 

(SETQ ITEMS (SSGET '((0 . "TEXT,MTEXT")))); revised to only get text

Message 4 of 4
gbarfield
in reply to: andrew.nao

Maybe I didn't make myself clear with my first question.  If I make the change that you suggested, it'll draw a multileader in front of the text and not a line.  I still want a line in front of text, but I want to be able to select multi-leader text as well as text and mtext.

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

Post to forums  

Autodesk Design & Make Report

”Boost