Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
john-B
Posts: 48
Registered: ‎09-09-2009
Message 1 of 5 (202 Views)
Accepted Solution

mleader

202 Views, 4 Replies
10-11-2012 05:24 PM

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


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))

 

 

Mentor
devitg
Posts: 1,704
Registered: ‎03-14-2004
Message 2 of 5 (195 Views)

Re: mleader

10-11-2012 05:43 PM in reply to: john-B
You need to add so many PAUSE , as need at (command "_mleader" pause pause ..... pause )
*Expert Elite*
pbejse
Posts: 2,496
Registered: ‎11-24-2009
Message 3 of 5 (190 Views)

Re: mleader

10-11-2012 06:03 PM 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))

 

 

Active Contributor
john-B
Posts: 48
Registered: ‎09-09-2009
Message 4 of 5 (179 Views)

Re: mleader

10-11-2012 06:55 PM in reply to: pbejse

Thank you both

*Expert Elite*
pbejse
Posts: 2,496
Registered: ‎11-24-2009
Message 5 of 5 (174 Views)

Re: mleader

10-11-2012 07:22 PM in reply to: john-B

john-B wrote:

Thank you both


You are welcome, glad we could help :smileyhappy:

 

Cheers

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.