Jump to content

Using express tools routines within your own?


DVDM

Recommended Posts

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?

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...