Change Log Release 2025 (API)

www.CAD6.com

This log lists all major changes in the Malz++Kassner CAD6interface and its documentation.

 

Release 2025.2.11.4 (November 4, 2025)

New filter types MKI_SELFILTER_TYPE_TEXTCOMPRESS, MKI_SELFILTER_TYPE_TEXTSLANT, MKI_SELFILTER_TYPE_TEXTLINEDIST, MKI_SELFILTER_TYPE_TEXTCHARDIST, and MKI_SELFILTER_TYPE_TEXTTABDIST.
New member function GetTextCompression() in MKI_MATRIX.
New member m_fConvertMultiLineTexts in MKI_MKCONV_IMPORT.

 

Release 2025.2.10.14 (October 14, 2025)

MKI_INTERFACE_VERSION changed to 6252.
MKI_EXTERNAL_MAX increased to 200.
New icon IDs MKI_ICON_ID_DIALOG_FILTER, MKI_ICON_ID_NEW, MKI_ICON_ID_MINUS, MKI_ICON_ID_SAVE, MKI_ICON_ID_UNLOCK, and MKI_ICON_ID_REFRESH (see MKI_ICON_ID_*).
Changed handling of MKI_ENUMDATA_CLIP_END and MKI_ENUMDATA_MAP_END if the outline is also to be drawn (see MKI_ENUMDATA_*).
New functions MKI_DrawingImportPdf() and MKI_DialogImportPdf().
New plug-in ID MKI_PLUGINID_MKPDF2 and collection type MKI_COLLECTION_TYPE_PDF_IMPORT for PDF import filter.
New class MKI_PDF_IMPORT.
MKI_DWGDXF_IMPORT has been renamed MKI_MKCONV_IMPORT.
MKI_DWGDXF_EXPORT has been renamed MKI_MKCONV_EXPORT.
New member m_cPDFImport in MKI_MKCONV_IMPORT.
New icon IDs MKI_ICON_ID_FILETYPE_SVG and MKI_ICON_ID_FILETYPE_PDF (see MKI_ICON_ID_*).
New function MKI_CalcFontCapsRatio().
New member Matrix in MKI_IDENTDATA for correct handling of extended objects in mappings.
New extended object "Revision Cloud" (see Extended Object 36 "Revision Cloud")
New function MKI_ExtAddCurve().
Changed parameters for MKI_InputDrawCurve().
New macro mki_touch() to touch unused formal parameters to avoid compiler warnings.

 

Release 2025.1.7.8 (July 8, 2025)

The documentation for all standard objects has been revised (see Entity Type "Object").
Added documentation for known extended objects (see Entity Type "Extended Object").
New icon ID MKI_ICON_ID_CHECK_INDETERMINATE (see MKI_ICON_ID_*).

 

Release 2025.1.7.1 (July 1, 2025)

MKI_INTERFACE_VERSION changed to 6251.
Use the new CAD6engine to easily include the power of CAD6 and DirectPDF into your own Windows applications (see Using the Engine).
The standard include file mki_lib6.h now already includes all required Windows header files to make it easier to use.
New callback function type MKI_ABOUT_PROC.
New class MKI_ENGINE_DATA.
New functions MKI_EngineStart(), MKI_EngineUserInterface(), and MKI_EngineStop().
Additional parameter UserMode for MKI_PlugInInit().
More options for parameter FilterMode for MKI_PlugInExport() and MKI_PlugInImport().
New member CommandCount in MKI_PLUGIN_ID.
New constants MKI_USERMODE_*, used to disable parts of the user interface.
New application types MKI_APPTYPE_ENGINE_ECO and MKI_APPTYPE_ENGINE_PRO in MKI_GetApplicationType() and MKI_PLUGIN_ID (see MKI_APPTYPE_*).
New member functions GetMatrix() and GetMatrixPtr() in MKI_ENTITY_OBJECT.
New member function SetPage() in MKI_PRINT_PDF.
New member function InitDirectPDF() n MKI_PRINT_DEVICE.
New member function InitDirectPDF() in MKI_PRINT_DATA.
New dialog mode MKI_PRINTDIALOG_PDF_ONLY for MKI_DialogPrint().
Optional parameter FillMode in MKI_XPROPERTY::Init().
New functions MKI_EntityLine(), MKI_EntityRectangle(), MKI_EntityCircle(), MKI_EntityText(), MKI_EntityBitmap(), and MKI_EntityInstance().
New member functions SetFillColor() and SetLineColor() in MKI_XPROPERTY.
New functions MKI_LibraryAdd(), MKI_LibraryCreate(), MKI_LibraryRemove(), and MKI_LibrarySave().
Additional parameter Embedding for MKI_LibraryGetInfoByIndex() and MKI_LibraryGetInfoByName().
New functions MKI_FontAdd(), MKI_FontGetInfoByIndex(), MKI_FontGetInfoByName(), MKI_FontGetNumber(), and MKI_FontRemove().
New function MKI_DrawingInit().
New setting mode MKI_SETTING_IMPERIAL_UNITS for MKI_SettingGet().
New member function SetPage() in MKI_PAGEDEF.
Additional parameter NoDialog for MKI_DrawingPrint(), MKI_DatabaseOpen(), MKI_DatabaseSave(), and MKI_UndoUpdateLinks().
MKI_DrawingBitmapExport() has been renamed MKI_DrawingExportBitmap().
Additional parameters Flag and FilterMode for MKI_DrawingExportBitmap().
New main menu IDs (see MKI_MENUID_*).
Several new plug-in IDs (see MKI_PLUGINID_*).
New constants MKI_CLASSID_*, used to identify classes that are exchanged between application and plug-ins.
MKI_EditIdentDuplicate() has been replaced by the more flexible MKI_EditDuplicate() function.
New member function SetFitAlign() in MKI_MATRIX.
New function MKI_EditApplyMatrix() for direct matrix multiplication.
New function MKI_EditFitAlign() for fitting and aligning entities.
New comment modes MKI_COMMENT_SYMBOL_ARROW1, MKI_COMMENT_SYMBOL_ARROW2, MKI_COMMENT_SYMBOL_TRIANGLE, and MKI_COMMENT_PROGRESS_NONE (see MKI_COMMENTDATA).
New import and export classes MKI_DWGDXF_IMPORT, MKI_DWGDXF_EXPORT, MKI_EMF_IMPORT, MKI_EMF_EXPORT, MKI_HPGL_IMPORT, MKI_HPGL_EXPORT, MKI_HPGL_PEN, MKI_SHP_IMPORT, MKI_SHP_EXPORT, MKI_SVG_IMPORT, MKI_SVG_EXPORT, MKI_WMF_IMPORT, and MKI_WMF_EXPORT.
New import and export functions MKI_DrawingImportDwg(), MKI_DrawingImportDxf(), MKI_DrawingImportEmf(), MKI_DrawingImportHpgl(), MKI_DrawingImportSvg(), MKI_DrawingImportWmf(), MKI_DrawingExportDwg(), MKI_DrawingExportDxf(), MKI_DrawingExportEmf(), MKI_DrawingExportHpgl(), MKI_DrawingExportSvg() and MKI_DrawingExportWmf().
New dialog functions MKI_DialogExportDwg(), MKI_DialogExportDxf(), MKI_DialogExportHpgl(), MKI_DialogExportSvg(), MKI_DialogImportDwg(), MKI_DialogImportDxf(), MKI_DialogImportHpgl(), and MKI_DialogImportSvg().
New icon IDs MKI_ICON_ID_COMMENT_PIN4 and MKI_ICON_ID_COMMENT_PIN5 (see MKI_ICON_ID_*).
New multi-purpose macro mki_ok() (see MKI_RESULT_* and MKI_PROFILE_*).

 

Release 2025.0.4.15 (April 15, 2025)

New enumeration modes MKI_ENUM_ALLLAYERS and MKI_ENUM_BROKEN_LINKS (see MKI_ENUM_*).
New member function Init() in MKI_PLUGIN_DATA.
Enumeration data types MKI_ENUMDATA_ENDLESS and MKI_ENUMDATA_BEAM (see MKI_ENUMDATA_*) have been limited to one element.
New member function DrawPixelBeam() in MKI_DISPLAYDATA.
New member functions ClipLine(), ClipBeam(), and ClipEndless() in MKI_LINE.
Removed Step parameter from MKI_DialogInitSlider().

 

Release 2025.0.4.2 (April 2, 2025)

Result values MKI_RESULT_UNDERLINE and MKI_RESULT_STRIKEOUT are no longer available since underlining and strikeout are now fully supported during streaming (see MKI_RESULT_*).

 

Release 2025.0.3.18 (March 18, 2025)

New output mode MKI_PRINTPDF_FLAG_HIGHRES (see MKI_PRINTPDF_FLAG_*).
New member function CalcRectangle() in MKI_ENUMDEF_DATA.

 

Release 2025.0.3.4 (March 4, 2025)

MKI_INTERFACE_VERSION changed to 6250.
MKI_MKD_VERSION changed to 6250.
Starting with this release, only 64-bit versions of CAD6 and of the CAD6interface are available. All outdated 32-bit parts have been removed.
Starting with file version 6250, compressed drawing files will be saved in 7-Zip format instead of ZIP format. This makes them about 25% smaller and significantly reduces computing time.
CAD6industrie and CAD6studio now include DirectPDF to create high-resolution PDF files with Unicode texts, all colors models (RGB/HSB, CMYK, gray, CIELab), transparencies, hyperlinks, layers and embedded color space profiles. PDF/A-1b and PDF/A-2b files can be created.
New member PrintDirectPDF in MKI_PRINT_DEVICE; PrintPDF was renamed PrintCAD6PDF.
New members ExportDirectPDF and ExportType in MKI_TASKDEF; ExportPDF was renamed ExportCAD6PDF.
New printing mode MKI_PRINTERTYPE_DIRECTPDF (see MKI_PRINTERTYPE_*).
New output modes MKI_PRINTPDF_FLAG_NO_COMPRESS and MKI_PRINTPDF_FLAG_COLORSPACE (see MKI_PRINTPDF_FLAG_*).
New functions operator == and operator != in MKI_PRINT_ENTRY.
Parameter SerialNumber removed from MKI_PlugInInit().
New functions MKI_GetApplicationState() and MKI_ApplicationIsDisabled().
New function MKI_EnumerateAllRect().
New functions MKI_KeyIsCtrl*().
New constants MKI_APPTYPE_* replace the former MKI_PLUGINCTRL_* for MKI_GetApplicationType() and MKI_PLUGIN_ID.
New members FitMode, FitAlign and FitSize in MKI_BITMAPREF.
New member function UsesFitting() in MKI_BITMAPREF.
New members FitMode and FitAlign in MKI_MULTI_BITMAPREF.
New enumeration data types MKI_ENUMDATA_CHAR_START and MKI_ENUMDATA_CHAR_END (see MKI_ENUMDATA_*).
New member function HasLinkedID() in MKI_ENTITY_BASE.
New bitmap export mode MKI_BITMAPOPTION_PROFILE (see MKI_BITMAPOPTION_*).
New PDF file type option MKI_PRINTPDF_TYPE_PDFA2 (see MKI_PRINTPDF_TYPE_*).
New macro mki_swap using memory copy to exchange two class instances in memory without calling contructors or destructors (see API Macros).
MKI_BLOCKLIST_ROWS increased to 50, resulting in MKI_BLOCKLIST_MAX to be 500 now.
Pen and layer "*Standard" no longer exist in this form; they have been replaced by "- Not assigned to any Layer -" and "- Not assigned to any Pen -" respectively. Functionally, this makes no difference. The former line pattern "*Standard" has been renamed "- Solid Line -". All other "*Standard" have been renamed to "- Standard -" to be more recognizable.
The former "Dynamic Snapping Guide" has been renamed "Temporary Objects". All corresponding constants were changed from _SNAPGUIDE to _TEMP. Other sets of elements that were previously all named "temporary" have been renamed either "provisional", "preliminary", or "precalculated" to avoid confusion among them.
The names of many command ID constants (MKI_MENU_*) have been changed to match their current menu placement. Some have been changed for name consistency. All constants' values remained unchanged!

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH