UMRVJX Posted June 23, 2010 Posted June 23, 2010 hi...once again i am here with some Q. i have some dwg when i open these dwgs they shown first a massage box with some massage (its not error its custom massage which write by dwg provider) after that dwg open and working normally....any idea how i add my own custom massage in dwg. Quote
MSasu Posted June 23, 2010 Posted June 23, 2010 Just add the line below into your acaddoc.lsp file: (alert "Your message here!") But remember that this will work only on your workstation - there is no way to ship the drawing with that message to someone. Regards, Quote
Lee Mac Posted June 23, 2010 Posted June 23, 2010 there is no way to ship the drawing with that message to someone. Hehe... actually there is, by using a protected namespace and stored the LISP data in the drawing dictionary - but I wouldn't advise it Quote
MSasu Posted June 23, 2010 Posted June 23, 2010 Sound very interesting!!! Now, that you opened the subject, how about an example? Thanks! Regards, Quote
Lee Mac Posted June 23, 2010 Posted June 23, 2010 Sound very interesting!!!Now, that you opened the subject, how about an example? Thanks! Regards, Certainly, but its a taboo subject due to the obvious ease of implementing self-running malicious code... http://www.theswamp.org/index.php?topic=6870.0 Quote
Cad64 Posted June 23, 2010 Posted June 23, 2010 Great, that's all we need. Another way for these idiots to distribute viruses. Would something like this end up infecting other drawings, like the educational plot stamp does? So if you xref this drawing, with this annoying message, into your drawing to use as a base, does your drawing now contain the message too? God I hope people don't start doing this. Quote
nukecad Posted June 23, 2010 Posted June 23, 2010 Great, that's all we need. Another way for these idiots to distribute viruses. God I hope people don't start doing this. Here, here. Quote
Lee Mac Posted June 23, 2010 Posted June 23, 2010 Great, that's all we need. Another way for these idiots to distribute viruses. Would something like this end up infecting other drawings, like the educational plot stamp does? So if you xref this drawing, with this annoying message, into your drawing to use as a base, does your drawing now contain the message too? God I hope people don't start doing this. Its not too easy to do to be honest Rod, so I wouldn't get your hopes up - it was just an example of what can be done. Quote
bonehead411 Posted June 24, 2010 Posted June 24, 2010 Open a drawing and get a massage? You can write a LISP for that? That's as good a reason as I've ever found for upgrading from LT! Quote
Dana W Posted June 24, 2010 Posted June 24, 2010 Massage? (perk) Can they do that with code now? Does the massuese have to be male? Oh, wait. ..message... I get it now. Quote
Dana W Posted June 24, 2010 Posted June 24, 2010 Open a drawing and get a massage? You can write a LISP for that? That's as good a reason as I've ever found for upgrading from LT! Don't ask me why I didn't read your post. At least I am not the only one in trouble. 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.