[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.
Chain Objects into a Selection Set
Tip# 2056 By Sal Brusco On 01-Sep-2005
1
Rated By 1 users Downloaded : 322
Categories : 2D Editing, 2D Operations
Software type : AutoCAD
Rename File To : Tip2056: Chain.lsp
Create a selection set (that you can use in subsequent commands) based on connected end points

Creating a Selection Set
Sal Brusco shows us how to Chain Objects into a Selection Set (Tip #2056). Sal's utility function will create a selection set (that you can use in subsequent commands) based on connected end points. The utility will add lines and arcs sharing a common end point to the selection set so long as only one option exists. You can incorporate this utility into many application areas. To run the function, load the LISP code and type Chain at the Command prompt. Pick the starting line or arc at the end point farthest from where you want the chain to grow. In other words, pick the starting entity near the start of the chain. The chained objects will be highlighted and returned as a selection set as a result of the function. As a side effect, Chain sets the global symbol Chainset to the selection set for subsequent reference. Sal gets a tip of the hat for a job well done!

 

 

Average Rating:
1


User comments