I am looking for VBA code that assigns active workspace and WorkSet on start up without giving me an alert pop up message "Workset not found Alert" ? I have OpenCities Map Ultimate CONNECT Edition Update 16 Version 10.16.0214. Thank you in advance.
The whole WorkSet branding behaviour eg. the No WorkSet Alert dialog, can be suppressed by defining the variable MS_SUPPRESS_FILE_WORKSET_ASSOCIATION = 1Maybe this already fulfills your goal.
Thank you Kees Van Prooijen. It worked.
The variable only suppresses the dialog if you want to associate files you can do so through a batch process see:
https://communities.bentley.com/products/microstation/w/microstation__wiki/32023/how-to-break-the-association-between-certain-files-and-a-specific-workset
Thank you David. Yes. I need to associate files to active WorkSet and WorkSpace.