Qleader help

Discussion in 'AutoCAD' started by charlieb, Jan 13, 2005.

  1. charlieb

    charlieb Guest

    What are the variables or commands to set a 2 point leader without text using lisp. I am attempting to connect a leader to a block and if someone has changed the qleader settings I get the mtext window instead of the inserted block.

    Thanks

    Charlie Bauer
    CAD Resource Group Manager
    InnerWireless, Inc.
     
    charlieb, Jan 13, 2005
    #1
  2. charlieb

    ecable Guest

    ;SET UP QLEADER
    (setq QLIS (dictsearch (namedobjdict) "AcadDim"))
    ;TURN OFF MTEXT
    (setq QLIS (subst (cons 60 4) (assoc 60 QLIS) QLIS))
    ;LIMIT VERTICES TO THREE
    (setq QLIS (subst (cons 67 3) (assoc 67 QLIS) QLIS))
    ;MODIFY LEADER
    (entmod QLIS)
    Change (cons 67 3) to (cons 67 2)
    for two vertices.
    Hope that helps you.

    Ed
     
    ecable, Jan 13, 2005
    #2
  3. charlieb

    charlieb Guest

    Thanks Ed it is exactly what I have been looking for.

    Charlie
     
    charlieb, Jan 13, 2005
    #3
  4. charlieb

    ecable Guest

    Glad I could help.
     
    ecable, Jan 13, 2005
    #4
  5. charlieb

    Dommy2Hotty Guest

    Ed...this is exactly what I have been looking for...but I get "nil" after
    (setq QLIS (dictsearch (namedobjdict) "AcadDim")), so it won't continue.
     
    Dommy2Hotty, Jan 13, 2005
    #5
  6. charlieb

    ecable Guest

    Put this in first to create the dictionary table.

    (command "qleader" ^C^C)

    I had the same problem, seems if you don't place a dimension there is no entry.
     
    ecable, Jan 13, 2005
    #6
  7. charlieb

    Dommy2Hotty Guest

    Duh...brain fart...thank you both...works like a charm
     
    Dommy2Hotty, Jan 13, 2005
    #7
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.