PDA

View Full Version : Drawing Setup



Scoobydoo
23rd Jul 2008, 06:28 pm
OK, first time poster here.......:)
I know this is a loaded question, but what is the best way to setup an autocad drawing? I would like all the parameters for msltscale, psltscale, celtscale, automatically setup when we load our model template. The model template contains the layers that we need, but I also have a layer script routine OR we can access the template through the Design Center if we need to load any layers that were purged out. I am trying to make it as fool-proof as possible for "green" autocad users!!:shock: (or is that an oxy-moron???)

BTW - this site has alot of terrific info in it and I have learned alot by reading it, but haven't yet come across anything regarding a good drawing setup.

rkmcswain
23rd Jul 2008, 06:56 pm
1. Anything that is saved with the drawing, set it up in your template drawings. Each system variable is described in HELP whether or not it's saved in the drawing. Of course layers, textstyles, linetypes, etc. can all be saved in the drawing.

2. Registry saved sysvars can be set using a startup lisp. In theory, they should only need to be set once, but setting them at startup makes sure that if they are changed, a simple restart of AutoCAD sets their value back...

If purged layers is a problem, you can create a small entity (like a point) on each layer you do not want purged and then set it's visible property to false (using lisp). Another way is to attach some xdata to layer 0, referencing the data that you do not want purged (again using lisp).

Scoobydoo
24th Jul 2008, 11:32 pm
Thank your for your response! I thought of the .lsp routine as well, but I'm not sure how to write one. I am also dealing with other users having AcadLt.

rkmcswain
25th Jul 2008, 01:31 am
You could use a script - which will work with LT - to (re)create the layers as needed.