Message 1 of 21
Autocad Lisp, remove all text after layer name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I posted a similar request earlier, however this might be easier
I was hoping someone would have a lisp or know how to create one to remove all characters after a specific layer name, i.e. if my layer name was
A200_Demolitions
But there was a variant of this within the drawing, A200_demolitions123, could I have any characters before or after the layer *A200_Demolitions* removed, and if the layer already exists once these characters are removed, can it be added to said existing layer. Got thousands of drawings I need to tidy the layers up in, and doing this manually will take me months
Kind Regards