Jay Thomas supplied Layer Script Maker (Tip #2161) for moving layer assignments from one drawing to another. This is a clever application that combines two different programming tools, AutoLISP and Scripts. A script file is a sequence of commands to be run by AutoCAD. You start scripts by using the Script command. Jay's tip involves two steps. In the first step, load the LISP code and run it by typing Lyrmak. This collects the layer information in your drawing and creates a script file that you name. The script contains the command sequence that recreates the layer details in a new drawing. For the second step, start a new drawing and type Script. Select the script file (extension SCR) created in the first step and within seconds, the new drawing's layers are the same. Combining the tools is a great way to get things done! |