Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Change the view window background colour with this macro
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • -Colours
        • A collection of colour tables
        • All about background colours
        • Change background of DWG files
        • Change colour of engineering links - webtags
        • Change the default colour of a sheet model
        • Change the view window background colour with this macro
        • Compare design files graphically
        • Compare design files without level symbology
        • Extract and print colour table information
        • For the colour blind - change PopSet icons
        • Keyin to toggle background colour on a per view basis
        • Make a custom color book
        • Match any colour anywhere with the eye dropper tool
        • Selection set highlight colour
        • Set design history colours
        • Set element highlight colour when snapping
        • Taking the RED out of colour tables
        • Viewing a simple DWG file in monochrome
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    Change the view window background colour with this macro

    AskInga logo

    Original Tip Date: Jun 22, 2004

    Macros to quickly change the view window background colour
     
    Rudi Wells was kind enough to post these two macros on the V7.General discussion boards. They work in both V7 and V8.


    To change the view background to white:
    Sub Main
    MbeSendCommand "MDL SILENTLOAD USERPREF"
    MbeSetAppVariable "USERPREF", "savePrefs.extFlags.invertBackground", 0&
    MbeSendCommand "MBE1 CLOSEMODAL OK"
    End Sub

    To change the view background to black:
    Sub Main
    MbeSendCommand "MDL SILENTLOAD USERPREF"
    MbeSetAppVariable "USERPREF", "savePrefs.extFlags.invertBackground", 1&
    MbeSendCommand "MBE1 CLOSEMODAL OK"
    End Sub


    AskInga Tip #449

    • tip
    • Askinga
    • Colours
    • Share
    • History
    • More
    • Cancel
    • Nicholas Fuschino Created by Bentley Colleague Nicholas Fuschino
    • When: Thu, Jun 19 2008 9:02 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Jun 14 2010 9:41 AM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies