Jump to content

Recommended Posts

Posted

I was thinking of writing a lisp where I can undefine qsave and than redefine the same command, but have it purge the drawing in the new function. My question is if I do this will hitting ctrl+s to save initiate same lisp?

Posted

I suppose I wouldn't go about redefining the qsave command. You don't need to. You want to hit ctrl+s and have it purge and then save right? You should write your Lisp to do just that. Then through your CUI setup your ctrl+s to execute your lisp routine. Just a thought is all.

 

regards

 

Hippe013

Posted

I didn't even think about that. That seems like it might be a more logical option. I am just trying to solve that problem where people can't seem to remember to keep their drawings cleaned up.

 

the downside I see is that if I modify the cui file than I need to do that on all the workstations one by one versus sending out an update that can be done by the user. Unless I am missing a way to update the cui files in a similar way.

Posted

Just run a purge from your acaddoc at startup.

Posted

Please take into consideration that by calling PURGE at first save you may discard useful content that you may later find that need them. If you will do only one save per drawing, this will never be a problem, but what will happened when work on a big drawing that will require many intermediate saves?

 

Regards,

Mircea

Posted
I was thinking of writing a lisp where I can undefine qsave and than redefine the same command, but have it purge the drawing in the new function. My question is if I do this will hitting ctrl+s to save initiate same lisp?

 

 

its_ikon, why don't you use reactors?

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