Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki Compress Options
    • 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
        • +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 Options

      Product(s): MicroStation
    Version(s): V8i, CONNECT Edition
    Environment: N/A
    Area: DGN
    Subarea: Compress

    Overview

    Compressing a file using File > Compress Design or the related key-in commands (either by manual key-in or via batch process) makes these actions available:

    V8i: File > Compress > Compress Options

    Connect Edition:

    File > Tools > Compress Options:

    Note that these actions are ignored by the 'Compress File on Exit' user preference, for details see: Compress File on Exit

    Tick 'Include References' to initiate a batch process that will compress all attached references.

    Note: this tick box has no effect in PowerDraft as the batch process features are not present.

    File compress can be initiated manually via the dialog or by key-in.

    Relevant key-ins include:

    • COMPRESS DESIGN
    • COMPRESS DESIGN INCLUDEREFS
    • DELETE UNUSED
    • COMPRESS OPTIONS (see How to turn ON/OFF Compress options via Key-in for more on this command, very useful when batch processing.)

    Search MicroStation Help for details of these key-ins.

    The File compress process will first apply any selected compress actions then will compact the file's structured storage removing any elements marked for deletion.

    The results of the Compress operation are displayed in the Message Center, along with the commands used (which is a handy way to quickly find those key-ins if you need them, for instance when working with DGNLIBs, where you need to use the key-ins to clean out unwanted content as compress does not operate on DGNLIBs):

    Configuration

    These actions can be pre-set in the site configuration using the MS_COMPRESS_OPTIONS configuration variable. Adding the following:

    MS_COMPRESS_OPTIONS   =  +ALL

    would apply all available actions, the Compress Options dialog would appear as above.

    Important: If using this variable with AECOsim Builiding Designer see:

    Compress Options in AECOSim Building Designer - Behaviour and Configuration

    Individual actions can be selected, as described by Ask Inga: Configure your compress options

    The order of the statement is significant, +ALL ticks all the boxes (generally want all of them ticked), adding further entries prefixed by '-' can omit the stated compress actions where appropriate.

    Reference

    A list of all the configurable actions to copy and paste from if specifying individual settings for MS_COMPRESS_OPTIONS:

     Action

     Alias

    Delete Cell Headers

    EMPTY_CELL

    Delete Empty Text Elements

    EMPTY_TEXT

    Delete Text Elements Containing Only Spaces

    SPACE_TEXT

    Delete Pre 8.11 Render Setup Entries

    RENDER_SETUP

    Delete Unused Named Shared Cells

    SC_NAMED

    Delete Unused Anonymous Shared Cells

    SC_ANON

    Delete Unused Line Styles

    LINESTYLES

    Delete Unused Dimension Styles

    DIMSTYLES

    Delete Unused Text Styles

    TEXTSTYLES

    Delete Unused Levels

    LEVELS

    Delete Unused Nested Attachment Levels

    LEVELTABLES

    Delete Unused Multi-line Styles

    MLINESTYLES

    Delete Unused Element Templates

    ELEMENTTEMPLATES

    See also

    Other language sources

      Original Author: Marc Thomas
    • CONNECT Edition
    • v8i
    • MicroStation
    • dgnlib
    • compress design
    • Share
    • History
    • More
    • Cancel
    • Marc Thomas Created by Bentley Colleague Marc Thomas
    • When: Wed, Aug 21 2013 8:05 AM
    • Klaudia Piekielniak Last revision by Bentley Colleague Klaudia Piekielniak
    • When: Mon, Dec 21 2020 7:26 AM
    • Revisions: 22
    • 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