TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: MUQTAR on October 11, 2011, 10:17:17 AM
-
HI Everyone,
can any one help me to make a lisp for auto reminder in autocad. In details when im going to start a drawings a want to give a target time and i can make reminders every 15min i should be remind me on set time as alert eq. u r target time going to finish like,
\
please any one knows about it please give me the code
thanking you, :-)
-
I don't think it's a good idea trying this in Lisp. You're either going to run a loop hogging acad entirely or run it through reactors (which would only fire if something's changed in acad). And if you go the reactor route, then popping up an alert box is a way of trying to crash acad.
I'd advise rather doing something like this in an external program. If you really want such inside ACad then possibly use DotNet instead - at least there you'd have something like a wait function and be able to run it as a 2nd process - thus acad can keep going. Not to mention, your pop-up may then also be non-modal.
-
Do-able, but not practical -- why not just drink coffee and beat all arbitrary deadlines?
-
You could maybe do something with the system variables below and look at TIME command
-
Set a reminder in MS Outlook if you have it, or a similar program.
-
Seems like you'd lose time by continuously having your concentration broken by an incremental popup.
-
If memory severs me correctly, take a look (aka search) over on the Catalyst site. I remember somebody doing this or trying to do this note think. It was suppose to look like sticky notes. :|
-
You now have TEN minutes to complete the current drawing...
You now have FIVE minutes to complete the current drawing...
You now have ONE minutes to complete the current drawing...
You now have TEN SECONDS to complete the current drawing...
nine
eight
seven
six
Five
Four
THREE
TWO
ONE
DRAWING LOCKED FROM FURTHER CHANGES. PLEASE REPORT TO SUPERVISORS OFFICE. NOW!!!
:police:
-
You now have TEN minutes to complete the current drawing...
You now have FIVE minutes to complete the current drawing...
You now have ONE minutes to complete the current drawing...
You now have TEN SECONDS to complete the current drawing...
nine
eight
seven
six
Five
Four
THREE
TWO
ONE
DRAWING LOCKED FROM FURTHER CHANGES. PLEASE REPORT TO SUPERVISORS OFFICE. NOW!!!
:police:
(http://www.theswamp.org/lilly_pond/alanjt/spank.gif)
-
You now have TEN minutes to complete the current drawing...
You now have FIVE minutes to complete the current drawing...
You now have ONE minutes to complete the current drawing...
You now have TEN SECONDS to complete the current drawing...
nine
eight
seven
six
Five
Four
THREE
TWO
ONE
DRAWING LOCKED FROM FURTHER CHANGES. PLEASE REPORT TO SUPERVISORS OFFICE. NOW!!!
:police:
It would be good to add this line at the bottom:
Last warning! This drawing will be closed in 5 seconds and be dumped with its bak file to the recycle bin!
:lmao:
-
I think that it is a good start
-
thanks hassan