Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
gbarfield
Posts: 7
Registered: ‎04-28-2009
Message 1 of 4 (372 Views)

Lisp Modification

372 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
andrew.nao
Posts: 185
Registered: ‎09-25-2008
Message 2 of 4 (361 Views)

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
gbarfield
Posts: 7
Registered: ‎04-28-2009
Message 3 of 4 (356 Views)

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
gbarfield
Posts: 7
Registered: ‎04-28-2009
Message 4 of 4 (325 Views)

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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.