When Using the AutoRun.MVBA is it possible to set these Item to a specific setting? Jut the way I normally run my Micro-station.
Of course they can all be set manually. Would be handy if it is not a lot of trouble or a big problem, I have searched for an article on this ? but
I failed to find one on these 3 items. be a handy time saver if possible?
The labels shown on those option buttons are the names of your workspace files. In other words, you have created configruration files named...
Richard Phillips said:When Using the AutoRun.MVBA is it possible to set these Item to a specific setting?
When MicroStation starts the first thing it does is to process its configuration files. That includes your configuration file that tells VBA to load and run your AutoRun macro. By the time your macro runs, MicroStation has finished processing its configuration files. Your macro cannot influence the configuration.
The settings in your screenshot show user, project and interface configurations. Regrettably, VBA can't modify those settings.
Regards, Jon Summers LA Solutions
Workspace can be locked with this variable.MS_WORKSPACEOPTS = 1
If set to 0 (default), the workspace options are displayed on the File Open dialog box. If set to 1, the workspace options are displayed but disabled. If set to 2, the workspace options are hidden and the dialog box is resized.
You can set these on the command line. Modify the shortcut you use to launch MicroStation by adding:
-WIRJBP_ -WPRjbp -WURJBP
At the end of the Target property.
Kevin, do not want to cause any problem for myself , the following is the shortcut load
"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\ustation.exe" where or how do I exactly add the
commands -WRRJBP_-WPRJBP-WURJBP Wanted to keep from any errors if possible? Thank You
Version: MicroStation V8i SS 10
RJB Phillips III (Richard) Praise the Lord for His Mercy and grace in Christ Jesus
Richard Phillips said:how do I exactly add the commands
how do I exactly add the commands
This is standard Windows command-line syntax. See this article about MicroStation command-line switches. In other words...
"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\ustation.exe" -WRRJBP_
Richard Phillips said:Wanted to keep from any errors if possible?
Experiment using a standard Windows command prompt with something like the Directory (Dir) command, which has lots of options. Since it provides a read-only view of the file system, it's hard to break anything.