Obtaining if Text Style name exists

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"  

Parents
  • Thank you very much for the reply. I had a MicroStation Crash and now I no longer have an Import feature for Textstyles or Dim Styles ?
    I am trying for support, It a problem, myself (76 yrs old) and a brother in Australia  was unable to figure it out. So at this point the macro will not help me
    So thank you for taking the time to help me.


    Praise the Lord for His Mercy and Grace in  Christ Jesus
    Richard, Gmail.com


    Version: MicroStation V8i SS 10

    RJB Phillips III (Richard) Praise the Lord for His Mercy and grace in Christ Jesus

Reply
  • Thank you very much for the reply. I had a MicroStation Crash and now I no longer have an Import feature for Textstyles or Dim Styles ?
    I am trying for support, It a problem, myself (76 yrs old) and a brother in Australia  was unable to figure it out. So at this point the macro will not help me
    So thank you for taking the time to help me.


    Praise the Lord for His Mercy and Grace in  Christ Jesus
    Richard, Gmail.com


    Version: MicroStation V8i SS 10

    RJB Phillips III (Richard) Praise the Lord for His Mercy and grace in Christ Jesus

Children