Reduce Polyline points

Reduce Polyline points

Anonymous
Not applicable
37,685 Views
27 Replies
Message 1 of 28

Reduce Polyline points

Anonymous
Not applicable

Hi, 

I realize there are many posts about this but they all seem to be old and none of them are working for me. 

I am running AutoCAD 2019 fully up to date. I have attached a sample file. 

The program I use to convert a raster file to vector works very well at created an accurate conversion. Unfortunately this seems to mean that it creates a TON of nodes. 

If someone knows a way to reduce the amount of vertices in the polylines, I am all ears!

 

Thanks

Sandro

0 Likes
Accepted solutions (1)
37,686 Views
27 Replies
Replies (27)
Message 21 of 28

tomislav_vargek
Enthusiast
Enthusiast

does anyone has anything faster, even when I make vlx out of it it is still too slow because I have contour lines with milions of vertices to reduce and it takes half an hour to calculate!

0 Likes
Message 22 of 28

Kent1Cooper
Consultant
Consultant

@tomislav_vargek wrote:

does anyone has anything faster....


I couldn't say whether it will be faster, but you could at least try converting to "heavy" Polylines and using the WEED command >here<.  It was the source of the idea for PLDIET, but works only with "heavy" Polylines [PLDIET was written to work with "lightweight" Polylines].  Since it uses basically the same criteria to decide whether to remove a vertex, it may not help, but just in case there's some difference in the way the two varieties respond....

Kent Cooper, AIA
Message 23 of 28

tomislav_vargek
Enthusiast
Enthusiast

thank you, I have first weed.lsp but it doesn't work, and this second weed2.lsp that u Kent posted works really great and fast!!

0 Likes
Message 24 of 28

tomislav_vargek
Enthusiast
Enthusiast

the weed2 that u posted fits my needs perfectly and this one could be of use too.

thank u both for quick replies!

0 Likes
Message 25 of 28

njfaulhaber
Community Visitor
Community Visitor

Cadalyst's website and the link are now down.  Does anyone have another source for the polyline .lsp?

 

0 Likes
Message 26 of 28

tomislav_vargek
Enthusiast
Enthusiast

here u go

0 Likes
Message 27 of 28

TomBeauford
Advisor
Advisor

For those using any of the Map 3D verticals Weed Polylines does a nice job.

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes
Message 28 of 28

Kent1Cooper
Consultant
Consultant

Here's a newer version of PLDiet.lsp.  [I don't recall what changed from the earlier version(s), if anything beyond what the comments at the top describe differently.]

Kent Cooper, AIA