Deleting unused styles en masse?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to delete (purge) unused styles en masse via the command prompt? Pipe network structure, pipe, and label styles primarily. The purge command does not address these types of styles, as far as I can tell.
I know how to right-click, and hit "ok" to confirm one style at a time, but that takes time and is very tedious when you need to do dozens. My company's template has oodles of styles that almost never get used, and I don't want to wade through all that stuff every time I use a pull-down menu. I know how to get a style back in should I get too aggressive with my deletions, so that is not an issue.
Preferably I'd like to write a script so that I can do multiples deletions all at once and quickly. I would save the script file and use it at the beginning of each new project, and modify it as necessary depending on what is likely to be used on a particular project.
I'm fairly decent at writing scripts for basic things like changing color, adding layers, and stuff like that. But this I'm not sure about. How do I know what to input for finding the style and ok'ing the deletion via a script?
Thanks.
8GB RAM (Home)
12GB RAM (Work)
AutoCAD Civil 3D 2019