[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.
Join Multiple Entities by Layer
Tip# 3815 By Alan Thompson On 18-Feb-2012
0
Rated By 0 users Downloaded : 272
Categories : Polylines, Linear Objects, Curved Objects, 2D Operations, 2D Editing
Software type : AutoCAD 2012
Rename File To : MultipleJoinLines.lsp
Join entities on the same layer into polylines — automatically.

This AutoCAD routine by Alan Thompson will join supported entities on the same layer into polylines. For example, if you pick a single object, all lines, arcs, and polylines on that layer will be joined into one or more polylines. The same theory applies if you pick three objects on three different layers; the process iterates the layers of the selected objects, joining entities as it can. The end result may be one or more polylines.

The routine drives the built-in AutoCAD command PEdit, but without you having to isolate layers. Anything PEdit can join should also work with this routine.

Start by loading the LISP file, then type in the command MJL. Select one or more entities and press Enter. Thanks, Alan.

 

Average Rating:
0


User comments


Log In