its_ikon Posted February 18, 2011 Posted February 18, 2011 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? Quote
Hippe013 Posted February 18, 2011 Posted February 18, 2011 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 Quote
its_ikon Posted February 18, 2011 Author Posted February 18, 2011 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. Quote
alanjt Posted February 18, 2011 Posted February 18, 2011 Just run a purge from your acaddoc at startup. Quote
MSasu Posted February 18, 2011 Posted February 18, 2011 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 Quote
Ahankhah Posted February 19, 2011 Posted February 19, 2011 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? Quote
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.