MKI_TASKMODE_* (Task Mode) Renamed in Version 2023.1

www.CAD6.com

The task modes determine which elements are stored in a task. It can be a bit-wise OR combination of the following flags:

 

MKI_TASKMODE_NULL

Empty task.

 

MKI_TASKMODE_ALL

All elements are available (only used in dialog handling).

 

Flags for layer settings

 

MKI_TASKMODE_LAYER_MODE

Layer modes are stored in m_pnLayerMode. Requires a valid m_pszLayerName and m_nLayerCount > 0.

 

MKI_TASKMODE_LAYER_INTERN

Internal layer properties are stored in m_pcLayerIntern. Requires a valid m_pszLayerName and m_nLayerCount > 0.

 

MKI_TASKMODE_LAYER_EXTERN

External layer properties are stored in m_pcLayerExtern. Requires a valid m_pszLayerName and m_nLayerCount > 0.

 

MKI_TASKMODE_LAYER_DEFAULT

Default layer information is stored in m_anLayerDefault. Requires a valid m_pszLayerName and m_nLayerCount > 0.

 

MKI_TASKMODE_LAYER_MASK

All of the above.

 

Flags for pen settings

 

MKI_TASKMODE_PEN_MODE

Pen modes are stored in m_pnPenMode. Requires a valid m_pszPenName and m_nPenCount > 0.

 

MKI_TASKMODE_PEN_INTERN

Internal pen properties are stored in m_pcPenIntern. Requires a valid m_pszPenName and m_nPenCount > 0.

 

MKI_TASKMODE_PEN_EXTERN

External pen properties are stored in m_pcPenExtern. Requires a valid m_pszPenName and m_nPenCount > 0.

 

MKI_TASKMODE_PEN_DEFAULT

Default pen information is stored in m_anPenDefault. Requires a valid m_pszPenName and m_nPenCount > 0.

 

MKI_TASKMODE_PEN_MASK

All of the above.

 

Flags for active elements

 

MKI_TASKMODE_ACTIVE_LAYER

Currently active layer is stored in m_nActiveLayer.

 

MKI_TASKMODE_ACTIVE_PEN

Currently active pen is stored in m_nActivePen.

 

MKI_TASKMODE_ACTIVE_PAGE

Currently active page is stored in m_nActivePage.

 

MKI_TASKMODE_ACTIVE_SYSTEM

Currently active coordinate systems are stored in m_nActiveViewSystem and m_anActiveDrawSystem.

 

MKI_TASKMODE_ACTIVE_HATCH

Currently active hatching is stored in m_nActiveHatch.

 

MKI_TASKMODE_ACTIVE_MASK

All of the above.

 

Flags for display settings

 

MKI_TASKMODE_DISPLAY_LINE

Line display mode is stored in m_nDisplayLine.

 

MKI_TASKMODE_DISPLAY_POINT

Point display mode is stored in m_nDisplayPoint.

 

MKI_TASKMODE_DISPLAY_MASK

All of the above.

 

Flags for output settings

 

MKI_TASKMODE_OUTPUT_LAYER

Page layer output mode is stored in m_nOutputLayer.

 

MKI_TASKMODE_OUTPUT_PAGE

Page object output mode is stored in m_nOutputPage.

 

MKI_TASKMODE_OUTPUT_COLOR

Color conversion mode is stored in m_nOutputColor.

 

MKI_TASKMODE_OUTPUT_MASK

All of the above.

 

Flags for export settings

 

MKI_TASKMODE_EXPORT_PDF

PDF printer output settings are stored in m_cExportPrint, m_cExportPDF, and m_cExportHideFlags.

 

MKI_TASKMODE_EXPORT_BITMAP

Bitmap export settings are stored in m_cExportBitmap.

 

MKI_TASKMODE_EXPORT_BLOCK

Block creation settings are stored in m_cExportBlock and m_cExportPoint.

 

MKI_TASKMODE_EXPORT_PRINT New in Version 2019.0

Printing settings are stored in m_cExportName (printer device name, e.g. "Adobe PDF"), m_cExportPrint, and m_cExportHideFlags.

 

MKI_TASKMODE_EXPORT_PLUGIN New in Version 2019.0

File export settings are stored in m_cExportName (export filter name, e.g. "mkdxf1"). Please note the respective plug-in's settings are NOT stored along with the task. When executing such a scenaio, the respective plug-in's current settings will be used.

 

MKI_TASKMODE_EXPORT_MASK

All of the above. Please note that only one of these export settings may be set at a time!

 

General settings

 

MKI_TASKMODE_FLAT_FILENAME New in Version 2019.1

Any variables and text statements in the filename will be resolved before using the filename.

 

MKI_TASKMODE_APPLY_FILTER New in Version 2022.2

During creation or export, the filter given in m_szFilterCollection and m_szFilterItem will be applied.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH