• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Active Member
    Posts: 7
    Registered: ‎04-28-2009

    Lisp Modification

    341 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.

    Please use plain text.
    Distinguished Contributor
    Posts: 151
    Registered: ‎09-25-2008

    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"

     

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎04-28-2009

    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

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎04-28-2009

    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.

    Please use plain text.