Running Select 10
How can I via VBA find out the name of the text file in a current .dgn
I do know how to do manually by Element>Text Styles and see them , but can you use VBA to know there are styles loaded ?
Example: I know if they are there is a Style name DFS_250x250UL without manually looking is it possible to get VBA to check its existance
than if it was not the macro would import the .dgnlib which is named "DupontFontStyles.dgnlib"
Richard Phillips said:can you use VBA to know there are styles loaded ?
Here are some ideas that use VBA to find information about Text Styles.
There are some things that VBA can't do, and for that reason the code calls an MDL function. I've provided a link to the MicroStation V8 article: if you are writing code for MicroStation CONNECT then see this article because the MDL wrappers are different.
Regards, Jon Summers LA Solutions