TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ScottMC on October 05, 2020, 08:46:57 PM

Title: Purge Duplicate Closed Polylines
Post by: ScottMC on October 05, 2020, 08:46:57 PM
New-bee here but wanted to offer a thought. Should have seen this sooner but Region isn't one I use much [till now]. Looked and looked and couldn't find a purge tool to delete duplicates and thought this would be worth trying. So simple.. I just convert all to regions, union and convert back to lwpolyline! So simple. Hope some will benefit.   :uglystupid2:
Title: Re: Purge Duplicate Closed Polylines
Post by: BIGAL on October 05, 2020, 10:26:28 PM
Have you thought about (= co-ords1 co-ords2) where you get the co-ords of the plines and make a list and compare if T then delete.
Title: Re: Purge Duplicate Closed Polylines
Post by: ScottMC on October 13, 2020, 06:12:53 PM
Similar and helpful one from: Ronjonp: http://www.theswamp.org/index.php?action=profile;u=13 http://www.theswamp.org/index.php?topic=17626.msg214211#msg214211

Very useful tool. Thanks.