One thing I have always wanted in MicroStation is a way to search cell libraries by cell description (and maybe even cell content). Sometimes you either have a lot of cell libraries, or a very large cell library. I finally looked into doing it as a VBA macro, and it turns out it is not too hard. Below is a screenshot of what I have come up with:
Features:- Searches by cell name, cell description and even text in the cells themselves.- Can search multiple cell libraries- Double-click on a search result to attach the cell library and place the cell.After installation, to run the macro use the key-in vba run cellLibrarySearch.Main
I have only access to V8 2004, so I have not tested this in newer versions, but it should work. Maybe others can verify.
Bentley, I wouldn't mind seeing this feature built in.
Thanks a lot for the macro. It is a very useful one. Just one question. Would it be possible for the macro to show not only that the cell exist but also how many times the cell is used and possibly where.
Kind regards
John
Unknown said:Would it be possible for the macro to show not only that the cell exist but also how many times the cell is used
That's a slightly different question than his macro was written to answer. You're asking about cell instantiations in a DGN model rather than cell availability in a library.
FlexiTable provides an answer.
Unknown said:Would it be possible for the macro to show that the cell exist and possibly where
What do you mean by 'possibly where'?
Regards, Jon Summers LA Solutions
Sorry for my question. I did not realize it.