Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki Compress Files by Batch Process
    • Sign in

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • -DGN - MicroStation
          • -Compress - DGN - MicroStation
            • Compress File on Exit
            • Compress Files by Batch Process
            • Compress Options
            • How to turn ON/OFF Compress options via Key-in
            • Potential data loss with "Delete Text Elements Containing Only Spaces" Compress Option
            • Uncompressed files are not deleted
            • What is an .dgn-compress file ?
          • +General - DGN - MicroStation
          • +Open - DGN - MicroStation
          • +Save - DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    Compress Files by Batch Process

      Product(s): MicroStation
      Version(s): 08.11.09.459
      Environment: N/A
      Area: DGN
      Subarea: Compress

    Background

    It can be useful to run a batch process to compress DGN files on a regular basis. The Compress File on Exit preference only executes a small sub-set of the available compress options and is no longer a recommended option (hence is set as off in our default preferences).

    See MicroStation help and Compress Options for details of the available options.

    To apply compression in a batch process the steps are:

    1. Go to the Utilities menu > Batch Process. (See the help topic "Setting Up and Running a Batch Process" for details of the options available in this dialog.)
    2. Create a new command file for your compress job (see below)
    3. Add the files to be processed.
    4. Click the Process icon.
    5. Review the list of files to process that then appears, click the process button to execute.

    Tips:

    The number of files that can be processed in one job will vary with the complexity/size of the files and the power/capacity of the hardware running the job.

    Command File

    To create a new command file for the job click the 'Create a New Command File' icon on the right of the Batch Process dialog.

    You will be prompted to save the file, choose a location in your project or company dataset so all users can access it and give it a meaningful name, e..g. BatchCompressAllOptions.txt. A text document will open containing our standard header. Add two commands, one the set the compression options, the second to execute the compression as follows:

    #----------------------------------------------------------------------
    #
    #  Command file for batchprocess utility
    #
    #  This command file was originally copied from $(MS_DATA)cmdfiletemplate.txt.
    #  Command file information:
    #       - Lines that start with the '#' character are treated as comments and ignored.
    #
    #----------------------------------------------------------------------
    compress options on ALL
    compress design

    the available options for 'compress options on/off/run/toggle' are not displayed in the fourth panel of the key-in browser. The available values are listed in the Alias column of the Compress Option dialog. In addition the 'ALL' value can be used as shown above.

    Other key-in examples include:

    compress options off ALL

    compress options on LEVELS

    compress options on ELEMENTTEMPLATES

    compress options on SC_ANON

    and for AECOsim Building Designer

    compress options on EMPTY_FORMS

    Each value must be set individually unless using 'off ALL' or 'on ALL' options.

    See Also

    Compress Options 

    External Links

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Comments or Corrections?

    Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!

      Original Author: Marc Thomas

     

     

    • MicroStation
    • compress
    • Share
    • History
    • More
    • Cancel
    • Marc Thomas Created by Bentley Colleague Marc Thomas
    • When: Fri, Nov 27 2015 10:44 AM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Mon, Sep 5 2016 8:07 PM
    • 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

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