Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki All about saving DWG files
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +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
        • All about saving DWG files
        • Auto-open a file to a specific model
        • Change the MicroStation Manager workspace options
        • Complete list of MicroStation V8's configuration variables
        • Compress your UPF file
        • Configuration variable operators
        • Configuration variable processing
        • Configure your compress options
        • Control the output location of MicroStation Packages
        • Convert MDF files to DGNLIB
        • Create new UPF every time you start MicroStation
        • Creating a configuration file
        • Current working directory
        • Customized Standards Checker Reports
        • Degeek MS DESIGN HISTORY REVISION NUMBER FORMAT
        • Deleting your UPF while retaining most settings
        • Digging into your workspace
        • Disable stuff MicroStation can or can't do
        • Do you really need to restart MicroStation when editing variables?
        • Edit Project variables via workspace configuration
        • Get rid of MicroStation Text Window
        • Have only one UPF regardless of the workspace you are using
        • How to figure out what the command line switches are
        • How to set WORKDIR DGNDIR after starting MicroStation
        • Learning about workspaces
        • List the configuration variables
        • Lock down your variables
        • Managing MicroStation backup directories
        • MicroStation J and V8 workspaces on the same computer
        • MicroStation J enhanced workspace functionality
        • MicroStation J Workspaces
        • Monitor your UPF file
        • Move your custom interface from one machine to another
        • MS_RFDIR limitations
        • Open V7 files without reconfiguring V8
        • Open Windows Explorer to location of workspace files
        • Preprocessor directives for processing configuration files
        • Quickly restore the defaults with a command line switch
        • Referencing other configuration variables
        • Regarding the last line in a configuration file
        • Report your variables with Expand Echo keyin
        • Return to the MicroStation Manager
        • Run Debug from a modified icon
        • Run debug from the command prompt DOS window
        • Set temporary variables with the Expand Set keyin
        • Set up a seed file for your UPF file
        • Setting the MS_OPENV7 variable
        • Sharing your workspace
        • Shawn Foster's BE 2005 presentations
        • Show all configuration variables not just some
        • Show full path of active file in title bar
        • Specify sub-folders when making a new project
        • Specify the folder for msdebug.txt
        • Temporary files
        • The types of configuration variables
        • The User Preference File [UPF]
        • Total length of file paths
        • Transcending the workspace and time continuum
        • Understanding configuration variables
        • Understanding MicroStation BASIC configuration variables
        • Use a library legend to help manage your library definitions
        • User interface hierarchy
        • Viewing and determining the configuration variables
        • What happens when you launch MicroStation?
        • What is a workspace?
        • Working with V7 files in V8
        • Workspace root
        • You're the CAD Manager, now what?
    • graffiti

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

    All about saving DWG files

    AskInga logo

    Original Article Date: Nov 23, 2004

    If you've ever wondered if you can control MicroStation V8's behaviour when it comes to saving graphical changes to DWG files, this article is for you. Read along and learn.

    Barry Bentley once wrote “....we have designed the V8 file format to make it possible to do very fast incremental saves so that the auto-saving is very unobtrusive [when working with V8 design files.] However, the DWG format does not permit that - you have to save the whole file from beginning to end every time. In a large file, that can take an appreciable time, during which MicroStation would be unresponsive.” The following information will help you understand how to set up MicroStation to save changes effectively and with minimum interruption.

    Automatically Save Design Changes
    When Automatically Save Design Changes is turned on in your workspace preferences, MicroStation will save the graphical changes to the file after 5 minutes or 300 seconds. This time is determined by the configuration variable MS_DWGAUTOSAVE which is described in greater detail below.

    During the save operation, MicroStation will pop open a dialog asking if you'd like to save your work. Keep in mind that if you click the OK button, and you just so happen to be in a large DWG file, the save process may take a while during which MicroStation would be unresponsive. The appearance of this dialog is controlled by the configuration variable MS_DWGAUTOSAVE_NODIALOG which is described in greater detail below.

    When Automatically Save Design Changes is turned off, MicroStation will not save the changes to the file until the file is closed. Of course, in the event of a power failure or other problem that would cause MicroStation to close unexpectedly, you will loose your work. To reduce this risk, it's strongly recommended to poke on the save icon after doing a measurable amount of work to the file. This icon appears in the Standard tool box as well as on the right side of the status bar. Alternativly, you could also go to File > Save, or just keyin CTRL+S.

    The last thing to mention here is that when Automatically Save Design Changes is turned off, you will be asked if you want to save your work when you close the file as described above. This is similar to how other memory-based programs work.


    AutoSave Feature
    MicroStation V8 2004 Edition has an autosave feature that assists with the saving of DWG files. This feature is controlled by a couple of configuration variables:

    MS_DWGAUTOSAVE - Internally, this variable is set to the default value of 300 seconds (5 minutes) and is used when Automatically Save Design Changes is turned on. If you find that 5 minutes to either too long or too short, you can define this variable to better suit your needs. The value to use is the number of seconds between saves with a minimum value of 30 seconds.

    Additionally, when this variable is defined you'll notice that Automatically Save Design Changes gets turned on (even if you had it off before defining the variable), and it also becomes grayed out. In summary, when this variable is defined, changes to the file will automatically be saved as per the defined seconds and you will be presented with a dialog asking if you want to save the changes to the file as shown above.

    MS_DWGAUTOSAVE_NODIALOG - Since DWG files take longer than DGN files to save, MicroStation displays a dialog box allowing you to defer the auto-save operation. If this variable is set, the dialog is skipped and auto-save occurs automatically.

    AskInga Article #226

    • Askinga
    • Article
    • DWG
    • WorkSpacesConfiguration
    • Share
    • History
    • More
    • Cancel
    • Danielle Schutz Created by Bentley Colleague Danielle Schutz
    • When: Thu, May 22 2008 11:16 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Tue, Jun 8 2010 2:48 PM
    • Revisions: 4
    • 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