Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick leader

Status
Not open for further replies.

zennis

Structural
Oct 25, 2002
63
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
 
Replies continue below

Recommended for you

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)
 
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
 
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....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor