Message 1 of 17
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to check if an given linepattern is in use ?
i couldnt find any method or member for the LinePatternElement class.
The only thing i can really think of now is to make a filteredelementcollector of LinePatternElements, and make another collector of all Lines within the model, and for each line check the pattern that is beeing used.
Then i can crosscheck these 2 lists and purge all unused linepatterns from my project (in one of my projects i have 964 linepatterns now dus to all kind of imports).
Only problem i see here is that i think it will not check the linepatterns used by linked (dwg) files...
Any thoughts on this ?
Solved! Go to Solution.