Dear All,
Is there a variable to switch on and/or off the following options in the Preferences dialog box (see attachment):
Kind regards,
Stephan
Hello,
You may find the following article about background colours useful...
Regards,
Hi Conor,
thank you for the reaction, but it is not yet what i am looking for.
if i use:
Sub Main
MbeSendCommand "MDL SILENTLOAD USERPREF"
MbeSetAppVariable "USERPREF", "savePrefs.extFlags.invertBackground", 1&
MbeSendCommand "MBE1 CLOSEMODAL OK"
End Sub
the Background color of my model is changing into white as well, i want to keep that black and my Layout hseet white.
so it is only changing
Unknown said:MbeSendCommand
Prefer VBA to BASIC.
You have much better access to the interior of MicroStation using VBA. For example, property ColorTable.BackColor may be just what you want.
Post questions about MicroStation VBA to the MicroStation Programming Forum.
Regards, Jon Summers LA Solutions
The New Level Display for Referencing has a variable "MS_REF_NEWLEVELDISPLAY" but it needs to be set for the Reference to use that.
I Hope This Helps Someone Reading This! (Intergraph>PseudoStation>MicroStation user since 1980's)
For these things:
Unknown said: Design Model Background Color (at view options). Drawing Model Background Color (at view options). Sheet Model Background Color (at view options).
...what are you trying to accomplish? If you are simply looking to enable/disable/toggle the user preferences, then you can do this (straight from the Key-in Browser):
Enable:
mdl keyin calculat calc userPrefsP->useColorOverrideDesignModelBg=1 mdl keyin calculat calc userPrefsP->useColorOverrideDrawingModelBg=1 mdl keyin calculat calc userPrefsP->useColorOverrideSheetModelBg=1
Disable:
mdl keyin calculat calc userPrefsP->useColorOverrideDesignModelBg=0 mdl keyin calculat calc userPrefsP->useColorOverrideDrawingModelBg=0 mdl keyin calculat calc userPrefsP->useColorOverrideSheetModelBg=0
Toggle:
mdl keyin calculat calc userPrefsP->useColorOverrideDesignModelBg=!userPrefsP->useColorOverrideDesignModelBg mdl keyin calculat calc userPrefsP->useColorOverrideDrawingModelBg=!userPrefsP->useColorOverrideDrawingModelBg mdl keyin calculat calc userPrefsP->useColorOverrideSheetModelBg=!userPrefsP->useColorOverrideSheetModelBg
But, knowing what you are looking to do with those things might help provide suggestions/ideas that would help with the ultimate goal you are trying to achieve.
Answer Verified By: SvB