I know this message is older than dirt, but I'm looking to do the same thing and don't know how to go about it. You ever find anything?
you can add (command "DWGPROPS") to your acaddoc.lsp file and this dialog box would open upon entry to the drawing
Or use The caveman method; has worked well for me: leroy5000 mtext block on a no plot layer
I spent about an hour at work and another hour at home searching through this putrid new website to find a thread I'd touched on after lunch time today. It was this one:
I'd only found it by searching tcorey's posts and seeing where you were the most recent poster (I'd remembered that much).
I was seriously about to rip my monitor out of the cpu and hurl it across the room I was so perturbed at what Autodesk seems to do about every 3 years, specifically taking a "new and improved" website (being actually less user-friendly) before changing it yet again to something worse after everybody has learned to deal with the POS that it already was . . . anyhows . . .
I had just copied the code that tcorey posted (revised one) in this link and it seems to work fine. Question though: Can a template file use its own acad201#doc.lsp file? This would be great so that all my .dwgs don't have the popup message come up.
When the .dwt is saved from Drawing1.dwg (upon C3D opening) to <project#>.dwg, it (link to acad2012doc.lsp) would retain the same path as the .dwt anyway I presume? In this case I'd still be dealing with the pop-up. I guess as long as all parties involved know where the window is coming from and how to alter/delete it, it can actually be a beneficial part of the process. It just seems that if the delete option is chosen with respect to the .dwt, it will be removed from all subsequent .dwg projects. Removing it from project .dwgs only as part of the process might be a bit laborious.
I was not clear enough: when acad starts up it goes through the search path list when it finds acad.lsp & acaddoc.lsp it loads it. So if you have a particlar project and message to display you would have to create different profiles with different search paths to find you project specific acaddoc.lsp. In conjunction you would need special desktop icons with the appropriate profile switch.
Or you can get fancy and have conditional statements in your acad.lisp that ask for the project and execute accordingly. I'm no lisp guru, but I know you can create a startup as customized as you like/ able to put the resorces into.
Thanks for the info. What makes my situation a bit harrier is that our template is network-based and accessed by other drafters. My goal was essentially to have them get the message upon opening, and then after saving to their local machine as .dwg, not get it anymore.
I've decided (for now) to just do the text file pop up mentioned in that other post. This way, I can put a dummy text file in the project folder template with instructions to the others about what it's for, that they need to name it the same as the .dwg, etc. The beauty here is that if they don't rename the text file, they won't get a blank box or any error message ("can't find file . . .") when opening the .dwg.
I've been seeing SSM mentioned alot, but don't know what it is. My first guess is Sinc Survey Module. Am I close?
Thats where a conditional type lisp file would come in handy.
Pseudo code example:
<ENTER PROJECT NUMBER>
IF pNUMBER =XXXXX THEN SUBROURINE a
IF pNUMBER = YYYY THEN SUBROUTINE b
You would have a database of project numbers and associated messages to display
it does overcomplicate opening a dawing from a user perspective, so email bulletins may be a less elaborate approach to notifying users of project info.
after saying that, it sounds even better than my caveman approach
About the only think I can think of is to create an Icon [shortcut] specifically for creating new drawing. Then you can use the /t switch to specify the template and the /s switch to load a script that either displays the message or loads a lisp that will display it. The link to tcorey's solution doesn't work for me. So I'm not sure what the code you're using is.
I tool the lazy way out and just have Mtext in the template that everyone's knows to erase after they start a new drawing. It basically shows which template was used in case someone chooses the wrong one by mistake.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.