Hi, is there a setvar to control whether an mleader object starts with either the arrowhead, or the landing first?
I know you can select it via the command prompt, but I'm starting the mleader from a LISP routine and want to specify that it's arrowhead first everytime. I've had guys that manage to change this setting by mistake, then not remember what they'd done to change it back. So I wanted to set the setting via LISP, so it wouldn't keep happening.
Thanks
no 'setvar".
Any reason your lisp can't just call the commandline sub-command when running MLEADER?
Use QLEADER!
I don't know why anyone uses MLEADER except that it is more well known just because of its name. It works Bass-Ackward as your post suggests.
QLEADER will always cue you to select the terminator first, then cues for text placement. But not before the text is typed as you are provided with a real time visual of text length, and height. I hardly ever, if ever, had luck on the first try placing text with MLEADER because it doesn't give real time visual of text. You can only see where your text is after you place it. And then you usually have to fine tune the placement expecially in tight spots.
I used to use qleaders (for many years actually), but since I've started writing my little LISP things for my group, mleaders are the way to go. You can define landing size in the style for one thing :-).
All I was after was a setting that I could set in the ACAD.doc (?) file, so that even if someone inadvertently changed the setting, the next time they open/created a drawing it would get reset.
Thanks for your time/thoughts.
I don't have a way of showing my example but just placing them both out is space looks like they are equal but they aren't. The trouble comes when you are trying to type in a description in a tight spot.
MLEADER you have to choose where to start text. Sometimes it may work out and not interfer with other entities, but if the open space you have is confined, you will porbably have to go back and adjust the location.
Qleader allows you to create text and still move it around after the text is typed. Thus, allowing you to place it precicely in confined spaces.
Try putting
(COMMAND "MLEADER" "H" ^C)
in the acad.lsp, or just add that to your lisp routine. Same suggestion Dean gave earlier without the detail.
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.