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! |