[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.
Automatically Create New Layers for Xrefs
Tip# 3799 By Bob Qualls On 13-Jan-2012
3.5
Rated By 2 users Downloaded : 866
Categories : DWG, Blocks General
Software type : AutoCAD 2012
Rename File To : LNL.LSP
Load xrefs on a new, locked layer.

One way to put automation to work is by making it easy for you and your users to follow standards in AutoCAD. That is what this routine from Bob Qualls does. It allows you to attach an xref in much the same way as you probably do now, except that the xref will be created on a new, unique layer and that layer will be locked.

Start by loading the LISP file, then type in the command LNL. At this point, proceed with selecting your drawing to xref; when you are done, it will be inserted on a new layer named XR_<name of drawing>. Feel free to rename the LISP function to XR or whatever your current shortcut is, and to customize the layer name to fit your needs. Good job, Bob.

 

Average Rating:
3.5


User comments
Comment by Korem,Danny
Posted on 2012-10-23 14:40:19
1st I like this and since I Like my folks to use standard Layers I modified the <name of drawing> and made an additional Prefix. Keep Up the good Work!!!! This is one of 3 Apps loaded within every seat in our place.
Comment by Korem,Danny
Posted on 2012-10-23 14:40:26
1st I like this and since I Like my folks to use standard Layers I modified the <name of drawing> and made an additional Prefix. Keep Up the good Work!!!! This is one of 3 Apps loaded within every seat in our place.
Comment by Korem,Danny
Posted on 2012-10-23 14:40:38
1st I like this and since I Like my folks to use standard Layers I modified the <name of drawing> and made an additional Prefix. Keep Up the good Work!!!! This is one of 3 Apps loaded within every seat in our place.
Comment by Korem,Danny
Posted on 2012-10-23 14:40:38
1st I like this and since I Like my folks to use standard Layers I modified the <name of drawing> and made an additional Prefix. Keep Up the good Work!!!! This is one of 3 Apps loaded within every seat in our place.
Comment by Korem,Danny
Posted on 2012-10-23 14:40:39
1st I like this and since I Like my folks to use standard Layers I modified the <name of drawing> and made an additional Prefix. Keep Up the good Work!!!! This is one of 3 Apps loaded within every seat in our place.