MKI_FILEMODE_* (File Section Identifiers) Changed in Version 2023.1

www.CAD6.com

Bit-wise OR combination of flags that are used during file operation to identify sections of a drawing, library, or collection file. Possible values are:

 

Identifiers of drawing file sections

 

MKI_FILEMODE_HEADER

If this flag is set, the file header is loaded (should normally be set unless MKI_FILEMODE_USERSECTIONS is set).

 

MKI_FILEMODE_TASK Renamed in Version 2023.1

If this flag is set, the task definitions are loaded.

 

MKI_FILEMODE_TEXTSTYLE New in Version 2013.2

If this flag is set, the text style definitions are loaded.

 

MKI_FILEMODE_DATABASE

If this flag is set, the internal databases are loaded.

 

MKI_FILEMODE_WINDOW

If this flag is set, the window settings are loaded.

 

MKI_FILEMODE_DEFAULT

If this flag is set, the default assignment of pens and layers are loaded.

 

MKI_FILEMODE_MODULE

If this flag is set, the plug-in-dependent are loaded.

 

MKI_FILEMODE_PAGE

If this flag is set, the page settings are loaded.

 

MKI_FILEMODE_COLOR

If this flag is set, the custom-color definitions are loaded.

 

MKI_FILEMODE_HATCH

If this flag is set, the hatching definitions are loaded.

 

MKI_FILEMODE_ITEM New in Version 2020.0

If this flag is set, the collection item definitions are loaded.

 

MKI_FILEMODE_SYSTEM

If this flag is set, the coordinate system definitions are loaded.

 

MKI_FILEMODE_PEN

If this flag is set, the pen definitions are loaded.

 

MKI_FILEMODE_LINE

If this flag is set, the line type definitions are loaded.

 

MKI_FILEMODE_LAYER

If this flag is set, the layer definitions are loaded.

 

MKI_FILEMODE_BITMAP

If this flag is set, the embedded bitmaps are loaded.

 

MKI_FILEMODE_VARIABLE

If this flag is set, the global variables are loaded.

 

MKI_FILEMODE_BLOCK

If this flag is set, the blocks are loaded.

 

MKI_FILEMODE_OBJECT

If this flag is set, the objects are loaded.

 

Modes of behavior when loading or saving

 

MKI_FILEMODE_COMPRESSED

If this flag is set, the drawing is compressed.

 

MKI_FILEMODE_PASSWORD

If this flag is set, the drawing will be password-protected (only valid if saved and in combination with MKI_FILEMODE_COMPRESSED).

 

MKI_FILEMODE_NODIALOG

If this flag is set, no progress indicator is display during the file operation.

 

MKI_FILEMODE_NOREDRAW

If this flag is set, no screen refresh will be performed after loading.

 

MKI_FILEMODE_USERSECTIONS

If this flag is set, the current default flags are added to all other flags set. This allows the user to determine which sections to save. In addition, it assures that all sections that have previously been loaded from disk will be saved.

 

MKI_FILEMODE_IDENTIFIED

If this flag is set, only identified objects are saved. The saving of other sections is not influenced.

 

MKI_FILEMODE_REPLACE

If this flag is set, all elements loaded (pen, layer, line type, coordinate system, etc.) replace the currently available ones. This flag should always be set if not only specific elements are to be loaded. When loading a "normal" drawing with this flag cleared can lead to fascinating results...

 

MKI_FILEMODE_UPDATEMATCH New in Version 6.11

If this flag is set, elements loaded (pen, layer, line type, coordinate system, etc.) will be matched with the currently existing element by name. Element that already exist with equal names are replaced, all others are added. This flag is especially useful when trying to update a drawing’s elements by importing another drawing file’s elements.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH