how to I make a toggle icon so that I can change the background color between black and white? I am always back and forth, depending what I'm working on.
Check key-in calculator userPrefsP->flags.invertBackground=!userPrefsP->flags.invertBackground; view off 1; view on 1
Refer Wiki
I tried that on F12 and it will only make View 1 active, not change the background color.
Hi Travis,
Which version of MicroStation are you currently using?
I tested this by assigning the above mentioned keyin to F12 in MicroStation 2023 and MicroStation CONNECT Edition Update 17.2. I was able to toggle between black and white backgrounds for View 1 using F12. If you are in a different view, you might want to edit the keyin with the View number accordingly.
Answer Verified By: Travis Roberts
One of the following key-ins should work for you.
For Connect:
calculator userPrefsP->flags.invertBackground=!userPrefsP->flags.invertBackground;update all
For V8i:
mdl keyin calculat calculator userPrefsP->extFlags.invertBackground=!userPrefsP->extFlags.invertBackground;update all
These key-ins will invert the backgrounds of all open view windows simultaneously.
It is a bit quicker than the other suggestion because it doesn't close and then open each window.It just does a simple update all.
Regards,Ron
v8i w/ GeoPak