You are here:

AutoCAD/Importing text file into AutoCAD2005

Advertisement


Question
I have created a text file with layers name , color and linetype. How do I import it into AutoCAD2005 for it to become layers each time I create a new drawing ? I am using AutoCAD2005

Answer
You might be able to make a script file out of it, which is a sequence of commands as you would type them at the command line. script files have an extension .scr and would contain something like layer m layername c colornum lt linetype
and so on.
But the normal way to create layers in a new dwg is to create a dwt file, with all the layers and linetypes in it, which is a drawing template file, then base your new drawings on that template.
You can also get them by just inserting a block or drawing that has all the layers in it.

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scott Cook

Expertise

I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience

Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.

©2012 About.com, a part of The New York Times Company. All rights reserved.