Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
7 Posts
0 Kudos
Registered: ‎04-28-2009
Post 1 of 4

Lisp Modification

385 Views, 3 Replies
12-02-2010 07:58 AM

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.

Distinguished Contributor
221 Posts
2 Kudos
Registered: ‎09-25-2008
Post 2 of 4

Re: Lisp Modification

12-02-2010 12:48 PM in reply to: gbarfield

replace

(COMMAND "LINE" ....

with

 

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

 

Active Member
7 Posts
0 Kudos
Registered: ‎04-28-2009
Post 3 of 4

Re: Lisp Modification

12-02-2010 01:45 PM 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

Active Member
7 Posts
0 Kudos
Registered: ‎04-28-2009
Post 4 of 4

Re: Lisp Modification

12-03-2010 06:07 AM 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post