×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

quick leader

quick leader

quick leader

(OP)
Is there a way to use the quick leader command and have the leader (i.e. the leader and arrowhead) already exploded.  I am looking for a command similar to "dimaso" however, would be associated with quick leaders.  Basically, I do not want the quick leader to be associative.
Thanks

RE: quick leader

If you do not want the leader associated with text then try this routine.

; Ldr.lsp  Tim Wilson
; Similar to the Quick Leader but without the text prompts

(defun c:lk (/ lpt1 lpt2 lpt3)
 (setq #OSM (getvar "osmode"))
 (setq #OTM (getvar "orthomode"))
 (setq #CLE (getvar "clayer"))
  (setvar "OSMODE" 0)
  (setvar "orthomode" 0)
  (IF (NULL (tblsearch "layer" "G-Text"))
   (command "layer" "m" "G-Text" "c"  "7" "" "")
   (command "layer" "s" "G-Text" "" "")
  );end if
  (setq lpt1 (getpoint "\nPick Start Point..: "))
  (setq lpt2 (getpoint lpt1 "\nPick Next Point..: "))
   (setvar "ORTHOMODE" 1)
   (setq lpt3 (getpoint lpt2 "\nPick End Point..: "))
    (if
     (null lpt3)
     (command "leader" lpt1 lpt2 "a" "" "n")
     (command "leader" lpt1 lpt2 lpt3 "a" "" "n")
    );end if
   (setvar "osmode" #osm)
  (setvar "orthomode" #otm)
 (setvar "clayer" #CLE)
 (princ)
);end defun
(PRINC)

RE: quick leader

hi zennis,

can't help but ask, why don't you want leaders to be assoc. with text items?
can't tell you how frustrating it is to modify a drawing that has non-assoc. leaders.

just my 2 cents.

Intel P4 1.7 GHZ
768 RDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1

RE: quick leader

OZZY84 your not alone on that one:
1) you can't re-point them/re-angle the 1st ext. line
2) you can't globally alter arrowhead size

If you don't want the leader assoc. with text then turn mtext off (in leader options) and use your own (this will speed up dwg regen time too). Hope i haven't missunderstood your question....

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources