[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.
Tip 2291: Xref Block Layer Cleanup
Tip# 2291 By Michael Kolomiyets On 01-May-2008
4
Rated By 1 users Downloaded : 634
Categories : Layer Tools, Layer Properties
Software type : AutoCAD
Rename File To : Tip 2291: Autolayxref.LSP
Autolayxref.LSP (Top Tip): A reactor-based solution for handling layers from xref blocks.

Tip 2291: Xref Block Layer Cleanup
This month's top tip, Xref Block Layer Cleanup from Michael Kolomiyets, is a reactor-based solution for handling layers from xref blocks. This routine runs behind the scenes after it is loaded through the use of reactors. The goal is to add the letters "xref-" plus the block name to the start of all layers created through the inclusion of an externally referenced block. When the xref block is removed from the drawing, all the layers containing the letters "xref-" plus the block name at the beginning are removed from the drawing. This very elegant solution helps keep your layers straight and demonstrates the raw power of reactors in Visual LISP. Great job, Michael. This utility is a great example of reactor-based programming that is useful too!

 

 

Average Rating:
4


User comments


Log In