Ok, lets see if we can get these answered one at a time.
Originally Posted by
jdcincy
Im using 2009 Mechanical, I have a question about the "mleader" command.
We cant all be perfect, it should work the same as Vanilla.
Originally Posted by
jdcincy
I have always used the "leader" command with this caveman lisp
(DEFUN C:LE() (COMMAND "LEADER" "NEAR"))
1. I would like to have the same snap function with the mleader command, but I cant seem to make it work.
For the mleader command to function properly you have to do something like this:
Code:
(defun c:LE ()
(setvar "cmleaderstyle" "Engineering Label")
(initcommandversion 2)
(command "mleader" "_near")
(setvar "cmleaderstyle" "Engineering")
) ;_ end of defun
note the (initcommandversion 2) it is critical to making the command function, and obviously your mleaderstyle may be differently named than what I use.
Originally Posted by
jdcincy
2. I also noticed I could only write one line of text after creating the leader using mleader. Anyone know the command to change that?
this should be resolved by using (initcommand 2) as above.
Originally Posted by
jdcincy
3. I see I can change mleader styles with mleaderstyle command, but where are the style changes for the regular leader command? I know some style changes are made in the dimension style manager but I cant seem to find how to specify where the text is located off the landing.
When we used to use regular qleaders (never used the leader command) we had a lisp routine that set our specified settings:
http://forums.augi.com/archive/index.php/t-5248.html
Originally Posted by
jdcincy
I know all this must really seem trivial to most but please dont make to much fun of me. Just trying to learn new stuff.
Eventually most of what we learn seems trivial, but it wasnt when we started.