Compress Options


 Product(s):MicroStation
Version(s):V8i, CONNECT, 2023
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:

CONNECT || 2023:

File > Tools > Compress Options:

V8i:

File > Compress > 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:

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 OpenBuildings Designer see:

Compress Options in OpenBuildings 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

Compress Files by Batch Process

Compress File on Exit

Other Language Sources

Deutsch