Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
48 Posts
1 Kudo
Registered: ‎09-09-2009
Post 1 of 5
Accepted Solution

mleader

215 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
1,705 Posts
19 Kudos
Registered: ‎03-14-2004
Post 2 of 5

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*
2,535 Posts
306 Kudos
Registered: ‎11-24-2009
Post 3 of 5

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
48 Posts
1 Kudo
Registered: ‎09-09-2009
Post 4 of 5

Re: mleader

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

Thank you both

*Expert Elite*
2,535 Posts
306 Kudos
Registered: ‎11-24-2009
Post 5 of 5

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!