MKI_PENLAYERMODE_* (Pen and Layer Mode) Changed in Version 2024.1

www.CAD6.com

Determines whether the pen or layer is locked, visible, shaded, and/or idle. The visibility can separately be set for screen display and output. Must be a bit-wise OR combination of the following values:

 

MKI_PENLAYERMODE_DISPLAY

The pen / layer will be displayed on the screen.

 

MKI_PENLAYERMODE_OUTPUT

The pen / layer will be output to printer, clipboard etc.

 

MKI_PENLAYERMODE_LOCK

The pen / layer is locked, i.e. objects assigned to that pen / layer cannot be modified.

 

MKI_PENLAYERMODE_IDLE

The pen / layer is idle, i.e. objects assigned to that pen / layer will be ignored during snapping.

 

MKI_PENLAYERMODE_GRAY

The pen / layer is grayed (shaded), i.e. objects assigned will be displayed in a "gray" color that is defined by the user. This is achieved by transmitting this color as line and fill color to all objects and instances in that pen / layer. In this special case objects are even grayed (shaded) if their line or fill color is fixed.

 

MKI_PENLAYERMODE_NOLIST New in Version 2021.2

The pen / layer is currently not listed, i.e. will not be visible in any list. This flag is usually set by the user to clicking the "+" or "-" sign of folders in layer / pen lists.

 

MKI_PENLAYERMODE_FLAG1 New in Version 2012.0

Flag 1 of this pen / layer is set.

 

MKI_PENLAYERMODE_FLAG2 New in Version 2012.0

Flag 2 of this pen / layer is set.

 

MKI_PENLAYERMODE_FLAG3 New in Version 2012.0

Flag 3 of this pen / layer is set.

 

MKI_PENLAYERMODE_FLAG4 New in Version 2012.0

Flag 4 of this pen / layer is set.

 

MKI_PENLAYERMODE_FLAGS New in Version 2012.0

All 4 flags of this pen / layer are set.

 

MKI_PENLAYERMODE_ALL New in Version 2014.0

All pen / layer modes (except virtual mode).

 

MKI_PENLAYERMODE2_DISPLAY New in Version 2024.1

MKI_PENLAYERMODE2_OUTPUT

MKI_PENLAYERMODE2_LOCK

MKI_PENLAYERMODE2_IDLE

MKI_PENLAYERMODE2_GRAY

MKI_PENLAYERMODE2_NOLIST

MKI_PENLAYERMODE2_FLAG1

MKI_PENLAYERMODE2_FLAG2

MKI_PENLAYERMODE2_FLAG3

MKI_PENLAYERMODE2_FLAG4

MKI_PENLAYERMODE2_FLAGS New in Version 2024.1

MKI_PENLAYERMODE2_ALL New in Version 2024.1

If set, the corresponding setting above is indeterminate. This will never be set within actual pen / layer data and is only used for pen / layer display in dialog windows, buttons, or lists.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH