DVDM Posted February 25, 2009 Share Posted February 25, 2009 Hi, I made a very simple routine that calls up an express tool routine: (defun C:VPS () (command (C:VPSYNC)) ) Basically, I want to shorten the VPSYNC command to VPS. I know it's easier to do in my pgp, but this is a command I want to roll out via a company lisp routine that makes it available on everyone's computer. The command works fine, but it returns this on the command line at the end of it: Paper space = Model space 1 = 5 Current zoom factor = 0.2xp; error: bad argument value: AutoCAD command: It doesn't look very tidy. What's the proper way to use another LISP routine within your own routine, to avoid this glitch? Quote Link to comment Share on other sites More sharing options...
CarlB Posted February 25, 2009 Share Posted February 25, 2009 Maybe this: (defun C:VPS () (C:VPSYNC) ) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted February 25, 2009 Share Posted February 25, 2009 See here for more information on this topic http://www.cadtutor.net/forum/showthread.php?t=32685 Quote Link to comment Share on other sites More sharing options...
DVDM Posted February 25, 2009 Author Share Posted February 25, 2009 Beautiful, another problem struck off my list. Thanks guys! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.