Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mleader

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
john-B
393 Views, 4 Replies

mleader

Hi all

I'm trying to write a lisp routine that, when I invoke the mleader command, osmode is set to "nearest" & orthomode is set off. I then would like the original settings to be returned.

attached is what I have written so far:-

Hoping for so help.

Regards

JohnB

4 REPLIES 4
Message 2 of 5
devitg
in reply to: john-B

You need to add so many PAUSE , as need at (command "_mleader" pause pause ..... pause )
Message 3 of 5
pbejse
in reply to: devitg


@devitg wrote:
You need to add so many PAUSE , as need at (command "_mleader" pause pause ..... pause )

Use while

 

(command "_mleader")
(while (> (getvar "CMDACTIVE") 0)
(command pause))

 

 

Message 4 of 5
john-B
in reply to: pbejse

Thank you both

Message 5 of 5
pbejse
in reply to: john-B


@john-B wrote:

Thank you both


You are welcome, glad we could help 🙂

 

Cheers

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost