Hi all,
Is it possible to create a script to generate new layers and allocate automatically base views on it?
Thanks in advance
Solved! Go to Solution.
Solved by ed57gmc. Go to Solution.
Yes, you can use lisp or VBA. You can also create an SCR file for use with the SCRIPT command. Just open NOTEPAD and type what you would type at the command line and save the file with an scr extension. However, its easier to create a template for starting a new dwg. Take any dwg and do SAVEAS, change the file type to dwt and save. Now you can choose this template when starting a new dwg. If you have an existing dwg you want to add layers to, just INSERT the file.
Example of what? We don't know exactly what you want. Can you get what you want by typing commands at the command line? If so, copy that output to Notepad for a script file. That's the easiest way to do it if you don't know any programming. An example of creating a layer and setting its color:
-layer new layer1 color 144 layer1
A space or return is like the {ENTER} key.
Can't find what you're looking for? Ask the community or share your knowledge.