Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

WEED. Autolisp - selecting ALL polylines

Anonymous

WEED. Autolisp - selecting ALL polylines

Anonymous
Not applicable

Dear All,

 

I need to run the WEED routine on several files to clean them up. Within each file, there are 100 plus polylines and at the moment I have to individually select each polyline and use the WEED command.

 

Does anyone know how I can select all polylines within a drawing and apply WEED routine?

 

Or is it relatively simple to write in a Select ALL function at the start of the code? Though this would be beyond my capabilities!

 

Many thanks

 

Ben Daykin

0 Likes
Reply
Accepted solutions (1)
28,849 Views
47 Replies
Replies (47)

marko_ribar
Advisor
Advisor

https://www.theswamp.org/index.php?topic=58030.0 

 

HTH.

M.R.

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes

Robin-ARCA
Explorer
Explorer

awesome, can it be modified to remove overlapping vertices too?

0 Likes

byron.montgomery
Observer
Observer

anyone have an updated link?

0 Likes

Kent1Cooper
Consultant
Consultant

@byron.montgomery wrote:

anyone have an updated link?


Assuming you mean that downloading PLDiet.lsp doesn't happen at the Cadalyst CAD Tips site, I've made them aware that downloads are not working, and they replied that they're working on it.  In the meantime, here's the file [more recent than the one there, and than the one at Message 11 here, anyway].

Kent Cooper, AIA

Base12
Collaborator
Collaborator

I've found PLdiet is much more effective than WEED.

 

0 Likes

ariadiletzkus
Observer
Observer

Would you please send me de LISP? it seem it's not available anymore for downloading

 

thank you!! 

0 Likes

ariadiletzkus
Observer
Observer
+1! did you get it?
0 Likes

Kent1Cooper
Consultant
Consultant

@ariadiletzkus wrote:

Would you please send me de LISP? it seem it's not available anymore for downloading


See Message 44 or the first attachment at Message 22[It's always a good idea to look through the Topic before replying with something that may already have been answered.]

Kent Cooper, AIA
0 Likes