|
API Constants Changed in Version 2026.0 |
www.CAD6.com |
|
General constants used throughout the interface.
MKI_INTERFACE_VERSION (6260) Changed in Version 2026.0 Current version of the CAD6interface at compiling time. Use this value to compare it to the InterfaceVersion parameter of the MKI_PlugInInit procedure. MKI_MKD_VERSION (6260) Changed in Version 2026.0 Current version of the CAD6 file format at compiling time.
MKI_MAIN_WINDOW_CLASS (L"MKCAD6_MainWClass") Name of the application’s main window class for CAD6studio and CAD6industrie. Use this string as a parameter of FindWindow to retrieve the handle of the application’s main window. MKI_STARTER_WINDOW_CLASS (L"MKCAD6_StarterWClass") New in Version 2024.2 Name of the application’s main window class for CAD6starter. Use this string as a parameter of FindWindow to retrieve the handle of the application’s main window. MKI_ENGINE_WINDOW_CLASS (L"MKCAD6_EngineWClass") New in Version 2025.1 Name of the engine’s interface window class for CAD6engine. Use this string as a parameter of FindWindow to retrieve the handle of the engine’s interface window.
MKI_INI_65_HEADER ("Malz++Kassner INI 6.50") File identification for Malz++Kassner INI 6.50 files. MKI_INI_70_HEADER ("Malz++Kassner INI 7.00") File identification for Malz++Kassner INI 7.00 files. MKI_MKD_460_HEADER ("Malz++Kassner CAD 4.60") File identification for Malz++Kassner MKD 4.60 files. MKI_MKD_500_HEADER ("Malz++Kassner CAD 5.00") File identification for Malz++Kassner MKD 5.00 files. MKI_MKD_600_HEADER ("Malz++Kassner CAD 6.00") File identification for Malz++Kassner MKD 6.00 files. MKI_MKD_610_HEADER ("Malz++Kassner CAD 6.10") File identification for Malz++Kassner MKD 6.10 files. MKI_MKD_620_HEADER ("Malz++Kassner CAD 6.20") File identification for Malz++Kassner MKD 6.20 files. MKI_MKD_630_HEADER ("Malz++Kassner CAD 6.30") File identification for Malz++Kassner MKD 6.30 files. MKI_MKD_640_HEADER ("Malz++Kassner CAD 6.40") File identification for Malz++Kassner MKD 6.40 files. MKI_MKD_650_HEADER ("Malz++Kassner CAD 6.50") File identification for Malz++Kassner MKD 6.50 files. MKI_MKD_660_HEADER ("Malz++Kassner CAD 6.60") File identification for Malz++Kassner MKD 6.60 files. MKI_MKD_661_HEADER ("Malz++Kassner CAD 6.61") File identification for Malz++Kassner MKD 6.61 files. MKI_MKD_6100_HEADER ("Malz++Kassner CAD6.100") File identification for Malz++Kassner MKD 6100 files (Release 2010). MKI_MKD_6110_HEADER ("Malz++Kassner CAD 6110") File identification for Malz++Kassner MKD 6110 files (Release 2011). MKI_MKD_6120_HEADER ("Malz++Kassner CAD 6120") File identification for Malz++Kassner MKD 6120 files (Release 2012). MKI_MKD_6121_HEADER ("Malz++Kassner CAD 6121") File identification for Malz++Kassner MKD 6121 files (Release 2012 SP1). MKI_MKD_6130_HEADER ("Malz++Kassner CAD 6130") File identification for Malz++Kassner MKD 6130 files (Release 2013). MKI_MKD_6132_HEADER ("Malz++Kassner CAD 6132") File identification for Malz++Kassner MKD 6132 files (Release 2013 SP2). MKI_MKD_6140_HEADER ("Malz++Kassner CAD 6140") File identification for Malz++Kassner MKD 6140 files (Release 2014). MKI_MKD_6142_HEADER ("Malz++Kassner CAD 6142") File identification for Malz++Kassner MKD 6142 files (Release 2014 SP2). MKI_MKD_6150_HEADER ("Malz++Kassner CAD 6150") File identification for Malz++Kassner MKD 6150 files (Release 2015). MKI_MKD_6160_HEADER ("Malz++Kassner CAD 6160") File identification for Malz++Kassner MKD 6160 files (Release 2016). MKI_MKD_6170_HEADER ("Malz++Kassner CAD 6170") File identification for Malz++Kassner MKD 6170 files (Release 2017). MKI_MKD_6171_HEADER ("Malz++Kassner CAD 6171") File identification for Malz++Kassner MKD 6171 files (Release 2017 SP1). MKI_MKD_6180_HEADER ("Malz++Kassner CAD 6180") File identification for Malz++Kassner MKD 6180 files (Release 2018). MKI_MKD_6181_HEADER ("Malz++Kassner CAD 6181") File identification for Malz++Kassner MKD 6181 files (Release 2018 SP1). MKI_MKD_6182_HEADER ("Malz++Kassner CAD 6182") File identification for Malz++Kassner MKD 6182 files (Release 2018 SP2). MKI_MKD_6190_HEADER ("Malz++Kassner CAD 6190") File identification for Malz++Kassner MKD 6190 files (Release 2019). MKI_MKD_6191_HEADER ("Malz++Kassner CAD 6191") File identification for Malz++Kassner MKD 6191 files (Release 2019 SP1). MKI_MKD_6200_HEADER ("Malz++Kassner CAD 6200") File identification for Malz++Kassner MKD 6200 files (Release 2020.0). MKI_MKD_6201_HEADER ("Malz++Kassner CAD 6201") File identification for Malz++Kassner MKD 6201 files (Release 2020.1). MKI_MKD_6210_HEADER ("Malz++Kassner CAD 6210") File identification for Malz++Kassner MKD 6210 files (Release 2021.0). MKI_MKD_6211_HEADER ("Malz++Kassner CAD 6211") File identification for Malz++Kassner MKD 6211 files (Release 2021.1). MKI_MKD_6212_HEADER ("Malz++Kassner CAD 6212") File identification for Malz++Kassner MKD 6212 files (Release 2021.2). MKI_MKD_6220_HEADER ("Malz++Kassner CAD 6220") File identification for Malz++Kassner MKD 6220 files (Release 2022.0). MKI_MKD_6222_HEADER ("Malz++Kassner CAD 6222") File identification for Malz++Kassner MKD 6222 files (Release 2022.2). MKI_MKD_6230_HEADER ("Malz++Kassner CAD 6230") File identification for Malz++Kassner MKD 6230 files (Release 2023.0). MKI_MKD_6231_HEADER ("Malz++Kassner CAD 6231") File identification for Malz++Kassner MKD 6231 files (Release 2023.1). MKI_MKD_6240_HEADER ("Malz++Kassner CAD 6240") File identification for Malz++Kassner MKD 6240 files (Release 2024.0). MKI_MKD_6242_HEADER ("Malz++Kassner CAD 6242") File identification for Malz++Kassner MKD 6242 files (Release 2024.2). MKI_MKD_6250_HEADER ("Malz++Kassner CAD 6250") File identification for Malz++Kassner MKD 6250 files (Release 2025.0). MKI_MKD_6260_HEADER ("Malz++Kassner CAD 6260") File identification for Malz++Kassner MKD 6260 files (Release 2026.0).
MKI_UTF8_BOM_TEXT ("") Identification of UTF-8 files (first 3 chars of the file) MKI_UTF8_BOM_CHAR1 ('ï') Identification of UTF-8 files (char 1 of the file) MKI_UTF8_BOM_CHAR2 ('»') Identification of UTF-8 files (char 2 of the file) MKI_UTF8_BOM_CHAR3 ('¿') Identification of UTF-8 files (char 3 of the file)
MKI_BLOCK_ID (L"*") Library title of internal blocks.
MKI_BLOCK_INDEX (999) Library index of internal blocks. MKI_BLOCKS_PER_DRAWING (1,000,000) Changed in Version 2020.0 Maximum number of blocks in a drawing or library. MKI_BLOCKS_PER_FONT (224) Maximum number of characters in a font library. MKI_NESTING_DEPTH_MAX (25) New in Version 2017.0 Maximum nesting depth of entities (e.g. within groups, clippings, or instances). MKI_POINTS_PER_PATCH (4) Maximum number of points per patch. MKI_ATTRIBS_PER_OBJECT (200) Maximum number of attributes per block or instance. MKI_ATTRIBS_PER_PARTSLIST (50) New in Version 2021.1 Maximum number of attributes per parts list. MKI_BYTES_PER_BINARY (144) Recommended maximum number of bytes per binary block. MKI_LENGTH_PATH (260) New in Version 2020.0 Maximum length (in characters) of a file name with path. MKI_LENGTH_TEXT_SHORT (500) Changed in Version 6.30 Maximum length (in bytes) of a "short" text, as used for dimensions. MKI_LENGTH_TEXT_LONG (30000) Changed in Version 6.30 Maximum length (in bytes) of a "long" text, as used for standard texts, frame texts, and comments. MKI_LENGTH_VARIABLE (500) New in Version 2017.1 Maximum length (in bytes) of a variable's text. MKI_LENGTH_ATTRIBUTE (4000) New in Version 2017.1 Maximum length (in bytes) of an attribute's text. MKI_LENGTH_BINARY (32,700) New in Version 6.50 Maximum length (in bytes) of a binary data block. MKI_LENGTH_FILE_ID (22) Maximum length (in bytes) of Malz++Kassner file identification (MKI_MKD_??_HEADER). MKI_LENGTH_FILE_EXIT (64) New in Version 6.50 Maximum length (in bytes) of Malz++Kassner file termination (=EXIT= plus CRC). MKI_CUSTOMMENU_MAX (100) Maximum number of custom menus in toolbox and panel. MKI_CUSTOMMENU_SIZE (30) Number of entries per custom menu. MKI_TOOLBOX_COLUMNS (20) Maximum number of button columns in the application's toolbox. MKI_TOOLBOX_ROWS (50) Maximum number of button rows in the application's toolbox. MKI_TOOLBOX_MAX (MKI_TOOLBOX_COLUMNS*MKI_TOOLBOX_ROWS) Maximum number of buttons in the application's toolbox. MKI_PANEL_COLUMNS (2) New in Version 2012.0 Maximum number of toolbox button columns in the application's panel. MKI_PANEL_ROWS (50) New in Version 2012.0 Maximum number of toolbox button rows in the application's panel. MKI_PANEL_MAX (MKI_PANEL_COLUMNS*MKI_PANEL_ROWS) Changed in Version 2012.0 Maximum number of command buttons in the application's panel. MKI_PARAMETER_MAX (30) New in Version 2023.2 Maximum number of buttons in the application's parameter window. MKI_COMMANDBAR_MAX (50) New in Version 2012.0 Maximum number of button groups in the application's command bar. MKI_BLOCKLIST_COLUMNS (10) New in Version 2032.2 Maximum number of button columns in the application's block list. MKI_BLOCKLIST_ROWS (50) Changed in Version 2050.0 Maximum number of button rows in the application's block list. MKI_BLOCKLIST_MAX (MKI_BLOCKLIST_COLUMNS*MKI_BLOCKLIST_ROWS) Changed in Version 6.50 Maximum number of buttons in the application's block list. MKI_CUSTOMKEY_MAX (1,000) Maximum number of custom (user-defined) key assignment. MKI_VARIABLE_MAX (1,000) Changed in Version 6.40 Maximum number of global variables per drawing. MKI_DEFAULT_MAX (16) Changed in Version 6.11 Maximum number of default settings for pens and layers per drawing. MKI_SYSTEM_MAX (100) Changed in Version 2023.0 Maximum number of coordinate systems per drawing (excluding coordinate system 0 "- Standard -"). MKI_HATCHLINE_MAX (8) Maximum number of lines per hatching line sequence. MKI_ORTHO_MAX (8) Number of ortho mode angles. MKI_PAGE_MAX (1,000) Changed in Version 2016.0 Maximum number of page definitions per drawing. MKI_PAGE_MODEL (-1) New in Version 2024.0 Page index of Model Space. MKI_PAGE_NOVAL (9,999) New in Version 2024.0 Invalid / undefined page number. MKI_HATCH_MAX (1,000) Changed in Version 2023.2 Maximum number of hatch types per drawing (excluding hatching 0 "- Standard -"). MKI_LINE_MAX (1,000) Maximum number of line types per drawing (excluding line type 0 "- Solid Line -"). MKI_LINEBLOCK_MAX (1,000) Maximum number of block-based line types per drawing. MKI_LINEPART_MAX (16) Maximum number of line parts per line type. MKI_PEN_MAX (1,000) Maximum number of pen definitions per drawing (excluding pen 0). MKI_LAYER_MAX (2,000) Maximum number of layer definitions per drawing (excluding layer 0). MKI_INTERN_FILLMODE_MAX (5) New in Version 2012.1 Number of filling mode buttons in the command bar. MKI_INTERN_LINEWIDTH_MAX (6) Changed in Version 2023.1 Number of line width buttons in the command bar. MKI_INTERN_COLOR_MAX (10) Changed in Version 2023.1 Number of line and filling color buttons in the command bar. MKI_MIXER_MAX (3) New in Version 2014.0 Number of colors in the color mixer. MKI_TASK_MAX (1,000) Renamed in Version 2023.1 Number of tasks. MKI_SYSTEMCOLOR_RGB_MIN (2,000) New in Version 6.60 MKI_SYSTEMCOLOR_RGB_MAX (MKI_SYSTEMCOLOR_RGB_MIN + 40) Range of standard RGB colors. MKI_SYSTEMCOLOR_CMYK_MIN (2,100) New in Version 6.60 MKI_SYSTEMCOLOR_CMYK_MAX (MKI_SYSTEMCOLOR_CMYK_MIN + 40) Range of standard CMYK colors. MKI_SYSTEMCOLOR_GRAY_MIN (2,200) New in Version 6.60 MKI_SYSTEMCOLOR_GRAY_MAX (MKI_SYSTEMCOLOR_GRAY_MIN + 40) Range of standard grayscales. MKI_SYSTEMCOLOR_LAB_MIN (2,300) New in Version 6.60 MKI_SYSTEMCOLOR_LAB_MAX (MKI_SYSTEMCOLOR_LAB_MIN + 40) Range of standard LAB colors. MKI_STANDARDCOLOR_N_MIN (2,400) New in Version 6.60 MKI_STANDARDCOLOR_N_MAX (MKI_STANDARDCOLOR_N_MIN + 86) Range of standard printing colors for uncoated paper (N). MKI_STANDARDCOLOR_K_MIN (2,500) New in Version 6.60 MKI_STANDARDCOLOR_K_MAX (MKI_STANDARDCOLOR_K_MIN + 86) Range of standard printing colors for coated paper (K). MKI_STANDARDCOLOR_R_MIN (2,600) New in Version 6.60 MKI_STANDARDCOLOR_R_MAX (MKI_STANDARDCOLOR_R_MIN + 195) Range of standard colors for paint and foil (R). MKI_STANDARDCOLOR_P_MIN (2,800) New in Version 2014.0 MKI_STANDARDCOLOR_P_MAX (MKI_STANDARDCOLOR_P_MIN + 658) Range of standard colors for paint and foil (R). MKI_CUSTOMCOLOR_MAX (1,000) Maximum number of custom (user-defined) colors. MKI_DIMLINEPARAM_TOTAL (3) Number of dimension parameter sets of type DIMLINE. MKI_DIMLARGEPARAM_TOTAL (13) Number of dimension parameter sets of type DIMLARGE. MKI_DIMSMALLPARAM_TOTAL (3) Number of dimension parameter sets of type DIMSMALL. MKI_DIMTEXTPARAM_TOTAL (7) Number of texts per dimension. MKI_WINDOW_MAX (4) Maximum number of concurrent drawing windows. MKI_WINDOW_VIEW (999) Window index of view window. MKI_RECENT_BLOCK_MAX (100) New in Version 2021.1 Maximum number of entries in the recent blocks list. MKI_RECENT_DRAWING_MAX (100) Renamed in Version 2020.1 Maximum number of entries in the recent drawings list. MKI_RECENT_FONT_MAX (10) New in Version 2020.1 Maximum number of entries in the recent fonts list. MKI_FONT_MAX (20) Changed in Version 2012.0 Maximum number of internal (MKL) fonts opened. MKI_FONT_SUBSTITUTE_MAX (50) Size of font substitution list. MKI_COLLECTION_MAX (50) New in Version 2020.0 Maximum number of collections and notebooks opened. MKI_ITEMS_PER_COLLECTION (100,000) New in Version 2020.0 Maximum number of items per collection. MKI_LIBRARY_MAX (200) Changed in Version 2023.1 Maximum number of libraries opened. MKI_DATABASE_MAX (100) Changed in Version 2016.0 Maximum number of databases opened. MKI_DATABASE_INTERNAL_MAX (10) New in Version 2012.0 Maximum number of internal databases opened. MKI_DATABASE_LINE_MAX (64,000) Changed in Version 2014.2 Maximum length of one database line. MKI_DATABASE_COLUMN_MAX (500) Changed in Version 6.30 Maximum number of columns in a database line. MKI_SERIAL_INDEX_MAX (10,000) Maximum number of database entries for serial printing. MKI_SERIAL_FILTER_MAX (4) Maximum number of filtering criteria for serial printing. MKI_SERIAL_SORT_MAX (4) Maximum number of sorting criteria for serial printing. MKI_SERIAL_RULE_MAX (4) Maximum number of rules for serial printing. MKI_PRINTER_MAX (8) Changed in Version 6.40 Maximum number of printer settings. MKI_PRINTER_POLYGON_MAX (100) New in Version 2018.1 Maximum number of printing area polygon points. MKI_BITMAP_MAX (1,000) Maximum number of bitmaps opened. MKI_PROCESSOR_MAX (16) New in Version 2012.0 Maximum number of concurrently used processor cores. MKI_EXTERNAL_MAX (200) Changed in Version 2025.2 Maximum number of external drawing references. MKI_HYPERLINK_MAX (1,000) Maximum number of hyperlinks. MKI_COMMENT_MAX (1,000) New in Version 2019.1 Maximum number of comments. MKI_UNDO_MAX (1,000) Maximum number of undo steps. MKI_POSNO_RANGE_MAX (10) New in Version 2021.1 Number of position number ranges. MKI_POSNO_MAX (10,000) Maximum number of position numbers. MKI_SUBCLASS_MAX (1,000) New in Version 2024.0 Maximum number of subclass controls in a dialog. MKI_DEFPATH_MAX (20) Changed in Version 6.41 Maximum number of standard paths per file type. MKI_FILTER_MAX (20) Maximum number of filters loaded. This maximum value applies to import and export filters separately, i.e. the total number of filters is 2 * MKI_FILTER_MAX. MKI_PLUGIN_MAX (50) Changed in Version 6.40 Maximum number of loaded plug-ins. MKI_PLUGIN_MENU_MAX (200) Maximum number of items in a plug-in's menu. MKI_PLUGIN_SUBMENU_MAX (30) Maximum number of items in a plug-in's submenu. MKI_PLUGIN_EXT_MAX (100) Maximum number of custom-defined object types at a time. MKI_PLUGIN_CONTEXT_MAX (10) New in Version 2023.2 Maximum number of context menu commands at a time. MKI_PLUGIN_BUTTON_MAX (50) Maximum number of plug-in window buttons per plug-in. MKI_PLUGIN_TOTAL_MAX (MKI_PLUGIN_MAX + 2 * MKI_FILTER_MAX) Maximum total number of plug-ins. MKI_INPUT_MAX (1,000) Changed in Version 2021.2 Maximum number of points to be entered per object input. MKI_INPUT_DEF_MAX (8) Maximum number of predefined point entries per command. MKI_POLYPOLY_MAX (30,000) Changed in Version 2023.0 Maximum number of nested outlines in a curve or surface, or nested curves in a hatching. MKI_DB_SIZE_MAX (32,000) Maximum size of a data block in bytes. MKI_DRAWING_PREVIEW_SIZE (250) Changed in Version 2017.1 Default height and width of a preview bitmap. MKI_UNIQUE_ID_SIZE (16) Size of a unique ID in bytes.
MKI_COORD_MIN (-1.0e12) Changed in Version 2017.0 Minimum coordinate allowed. MKI_COORD_MAX (1.0e12) Changed in Version 2017.0 Maximum coordinate allowed. MKI_EDIT_MIN (1.0e-10) Minimum value allowed for most entry types. MKI_EDIT_MAX (1.0e10) Maximum value allowed for most entry types.
MKI_DB_SIZE_POINT Default size of a data block of type MKI_DB_TYPE_POINT (including one point structure). MKI_DB_SIZE_CONSTANT Default size of a data block of type MKI_DB_TYPE_DOUBLE, subtype MKI_DB_ALL_CONSTANT. MKI_DB_SIZE_ARC Default size of a data block of type MKI_DB_TYPE_DOUBLE, subtype MKI_DB_ALL_ARC. MKI_DB_SIZE_CURVE Default size of a data block of type MKI_DB_TYPE_DOUBLE, subtype MKI_DB_ALL_CURVE. MKI_DB_SIZE_TEXT Default size of a data block of type MKI_DB_TYPE_TEXT (without any text). MKI_DB_SIZE_END Default size of a data block of type MKI_DB_TYPE_NATIVE, subtype MKI_DB_END. MKI_DB_SIZE_ANY Default size of any data block of type (without data).
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH