[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.
Reverse Polyline
Tip# 1588 By Joseph Kappel On 01-Jan-2000
2
Rated By 1 users Downloaded : 412
Categories : 2D Operations
Software type : AutoCAD
Rename File To : Tip1588: REV.LS
AutoLISP routine that reverses the direction of a selected polyline.

AutoLISP routine that reverses the direction of a selected polyline.

 

Average Rating:
2


User comments
Comment by Cooper,Kent
Posted on 2012-12-07 09:45:03
In newer versions, this works only with PEDITACCEPT set to 0. If you have it at 1, remove the "y" in the Pedit (command) function, or include a setting of PEDITACCEPT to 0. Also, it does not work on CLOSED Polylines. For a routine that does, and also reverses ANY direction-relevant entity type, see Tip #3975, "Reverse Entity Direction" with its ReverseDirection.lsp routine.