Jump to content

How to make pop-up message at .dwg startup??


Recommended Posts

Posted

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

Posted

Wouldnt it be better stuck onto the 'print' command with an acknowledgement before printing rather than at drawing startup?

Posted

Put it in your template on a non-printing layer right down by the title block.

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

Posted

And one more thing...lock the layer just to be annoying.

Posted

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,

Posted

ok didnt know you could do this so how do you add pop up messages to drawings?

Posted
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,

Posted

ok lisp and such go straight over me head thanks anyway

Posted

@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,

Posted

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 :shock:

Posted
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 :shock:

 

You're welcome!

 

You know, AutoCAD is faster than any car! It goes from 0 to 100(%) in only 3 seconds!

 

Regards,

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