QLEADER From Existing Note

Discussion in 'AutoCAD' started by TRJ, Oct 27, 2004.

  1. TRJ

    TRJ Guest

    Anyone have a routine that would promp the user to select an existing text
    object, call the leader command and use the text string selected by the
    user? Have about a zillion "busted" leadered notes that need to be brough up
    to snuff.

    Thanks in advance.
     
    TRJ, Oct 27, 2004
    #1
  2. TRJ

    Tim Duzan Guest

    You might also try express/dimension/leader tools/attach leader to
    annotation.
     
    Tim Duzan, Oct 27, 2004
    #2
  3. TRJ

    doug k Guest

    you could use qleader with the "copy an object" setting.

    you have to erase the old text though.
     
    doug k, Oct 27, 2004
    #3
  4. TRJ

    C Witt Guest

    I've got one, but we don't "attach" our leaders to text.. and it relies
    on our inter-office dim styles..

    I could clean it up so it gets everything from the selected text.. if
    you like..
     
    C Witt, Oct 27, 2004
    #4
  5. TRJ

    TRJ Guest

    That's a good suggestion - I learned something new! On trying it, I fins
    that it makes an exact copy of the existing text object.

    Here's a little diddy I came up with:

    (defun C:NL () ;NewLeader
    (setq e (entsel "\nSelect note: "))
    (setq TVAL (cdr (assoc 1 (entget (car e)))))
    (command "QLeader" pause pause (* 1.75 (getvar "DimScale")) TVAL "")
    )

    I'm using this to "conform" architectural details to my client's standard. I
    set the appropriate layer and dimstyle and go.

    Thanks again for the education.
     
    TRJ, Oct 27, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.