[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Export Linetypes
Tip# 3191 By Douglas Lerner On 26-Apr-2009
Rated By 2 users Downloaded : 1634
Categories : File Options
Software type : AutoCAD 2009
Rename File To : ExportLinetypes.fas,__MACOSX/,__MACOSX/._ExportLinetypes.fas
Douglas Lerner sent us a routine that will get the linetypes from a file so you can use them later.

"ExportLinetypes exports linetypes contained in the current drawing to a .lin file. All linetypes from the current drawing, together with any contained in external xrefs, are exported. The exported file can be modified and reimported using the LINETYPE command. The default export file has the same path and name as the drawing file but with a .lin extension. Unfortunately, this does not handle linetypes defined external .shx files, only those contained in the drawing itself.

Notes from Cadalyst Tip Patrol: Many of us use custom made linetypes. This routine makes it easy to get the line types from a drawing into a form where we can use them in our own drawings. Run the routine and pick the file name and location (if you don’t want to use the default name and location).


Average Rating:

User comments
Comment by Mason,Joe
Posted on 2009-04-27 22:57:41
Just curious as to why this is different from using Design Center to extract linetypes from drawings and thus not cluttering a machine/network with a large number of .LIN files?
Comment by Kuenning,Chris
Posted on 2009-05-13 15:59:27
I too use the Design Center to import linetypes, but it is nice to be able to place the linetypes that I have either collected or created over the years into one linetype file. P.S. The link given on Tips & Tools Weekly did not direct me to this page, I had to search it.
Comment by Anonymous
Posted on 2010-02-23 08:56:18
Will this work with Land Desktop 08?

Log In