Visual LISP, AutoLISP and General Customization

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

mleader

197 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

Mentor
devitg
Posts: 1,694
Registered: ‎03-14-2004
Message 2 of 5 (190 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,425
Registered: ‎11-24-2009
Message 3 of 5 (185 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 (174 Views)

Re: mleader

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

Thank you both

*Expert Elite*
pbejse
Posts: 2,425
Registered: ‎11-24-2009
Message 5 of 5 (169 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community