Skip to Content

How to prevent any dialog box when opening models programatically?

I have a number of scripts that scan through models in a network fileshare, such as a search and replace across all models. The problem is that when I use the OpenModel function, even with the flags set (omf_DontOpenView and omf_Hidden), I still have dialog boxes popping up. The one I see most is regarding projects. I have models in projects, but in the scanning instance I'm opening them without the project, so I'm prompted if I really want to do this. Is there another flag that will force silent operation?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers