How can I know if there is a project in the projects manager? I want to make a tool to read all projects and then unload all.
Thanks in advance
I created a hidden variable, for example _CLIENT_VBAAUTOLOADS and my PCF file builds the list of MVBA's that need to be loaded based upon client needs. In my Site.cfg file, I use
MS_VBAAUTOLOADPROJECTS > $(_CLIENT_VBAAUTOLOADS) to setup the loading of the MVBA's.
However, this did nothing to unload the MVBA already loaded when MicroStation first starts, since MicroStation always loads the last project used when it first opens. I was able to develop this mvba which is run via and OpenCloseEventHandler.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration
Hi caddcop,
Look me and I tell you something.
Regards
Your solution is correct for me.
Thanks