Jump to content

Open Drawing with Vault lisp


Recommended Posts

Hi i want to replace the _open command this works on my old PC but when i go to install on another it just run the default open


is there some variable that stops defun from redefining standard autocad commands

;	variables set
(setq tilemodevar (getvar "tilemode"))
(setq varCPROFILE (getvar "CPROFILE")) 
;	close windows
;	Open drawing from vault
(if (= varCPROFILE "Vault_r2014_Acad")
   (defun c:_open	()
     ) ;_ end of command
   );_ end of defun
 ) ;_ end of progn
;	autocad variables unset
(setvar "FILEDIA" FILEDIAvar)

Edited by SunnyTurtle
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.

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