[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.
Batch Open or Close MLine Objects
Tip# 4539 By Kent Cooper On 21-Sep-2015
0
Rated By 0 users Downloaded : 227
Categories : 2D Operations, 2D Editing
Software type : AutoCAD 2016
Rename File To : MultilineCloseOpen.lsp
This AutoLISP code includes two commands that allow you to open or close any number of Mlines in a selection set.

Frequent tipster Kent Cooper is back with yet another solution from a request via the Autodesk forums. MultiLineCloseOpen.lsp includes two commands, MLC and MLO.  MLC stands for MultiLine Close (to close open-ended mlines as if they had been drawn using the Close option at the end), and MLO stands for MultiLine Open (to open closed ones — the converse of MLC). These two commands allow you to open or close any number of mlines in a selection set. As always, Kent’s code is very neat and includes plenty of comments. To get started, load the AutoLISP file and then run either the MLC or MLO command. Select one or more mline objects and then press Enter. Obviously, you can’t open mlines that are already open or close mlines that are already closed. Mlines on locked layers are ignored in either case.

 

Average Rating:
0


User comments