oVeRdOsE Posted March 31, 2010 Posted March 31, 2010 Hi, (I did search for all words in my title, did find a thing) So, I want a pop-up message as '' Make sure to sign the paper after printing'' at the startup. With a '' OK'' option. What I have so far (SETQ reply (ACET-UI-MESSAGE "Make sure to sign the paper after printing" "Warning" (+ Acet:OK Acet:ICONWarning) ) ) But how to make it appear with a specific .dwg?? Thanks alot Quote
nukecad Posted March 31, 2010 Posted March 31, 2010 Wouldnt it be better stuck onto the 'print' command with an acknowledgement before printing rather than at drawing startup? Quote
ReMark Posted March 31, 2010 Posted March 31, 2010 Put it in your template on a non-printing layer right down by the title block. Quote
Cad64 Posted March 31, 2010 Posted March 31, 2010 Put it in your template on a non-printing layer right down by the title block. I agree. People will ignore pop-ups and just click OK without reading them. Or they will read it but then forget what it said 5 seconds after they click OK. Quote
ReMark Posted March 31, 2010 Posted March 31, 2010 And one more thing...lock the layer just to be annoying. Quote
MSasu Posted April 1, 2010 Posted April 1, 2010 If still consider the pop-up solution, may try the following. Create a file named "acaddoc.lsp" into Support folder for current user and add the below lines into it (or append at end of file if already exist): (alert "Make sure to sign the paper after printing!") (princ) Regards, Quote
AJSmith Posted April 1, 2010 Posted April 1, 2010 ok didnt know you could do this so how do you add pop up messages to drawings? Quote
MSasu Posted April 1, 2010 Posted April 1, 2010 how do you add pop up messages to drawings? By using an automation solution - in the above example is about AutoLISP - "acaddoc.lsp" file is the way to have it executed automatically. There are also VBA, VSTA and ARX solutions. Try to paste first line of my code on command prompt to see the effect. Regards, Quote
AJSmith Posted April 1, 2010 Posted April 1, 2010 ok lisp and such go straight over me head thanks anyway Quote
MSasu Posted April 1, 2010 Posted April 1, 2010 @oVeRdOsE - Have preferred ALERT instead of ACET-UI-MESSAGE since this isn’t a native AutoLISP function, but part of Express tools pack; by using it may raise an error on a workstation that doesn’t have Express installed (is optional). Regards, Quote
oVeRdOsE Posted April 1, 2010 Author Posted April 1, 2010 Wow, what a great forum! A lot of answers in less than 20 hours ! So, I did what ReMark said, I put the template on a non-printing layer. I didnt lock it, its not that important... Thanks, for the Alert tips, I'll consider it for my future work. Thanks again, this forums is thabomb, even on my car forums I cant get fast answers Quote
MSasu Posted April 1, 2010 Posted April 1, 2010 Thanks, for the Alert tips, I'll consider it for my future work. Thanks again, this forums is thabomb, even on my car forums I cant get fast answers You're welcome! You know, AutoCAD is faster than any car! It goes from 0 to 100(%) in only 3 seconds! Regards, 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.