Change Log Release 2022 (API)

www.CAD6.com

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

 

Release 2022.2.11.8 (November 8, 2022)

MKI_INTERFACE_VERSION changed to 6222.
MKI_MKD_VERSION changed to 6222.
New option MKI_BASEMODE_PASSIVE for pens to make them passive without transmission and options (see MKI_BASEMODE_*).
New functions MKI_LayerGetBaseMode(), MKI_LayerSetBaseMode(), MKI_PenGetBaseMode(), and MKI_PenSetBaseMode().
New command MKI_NOTIFY_UPDATE_ELEMENTS for MKI_PlugInNotify(), informing plug-ins of changes in drawing elements (see MKI_NOTIFY_*).
Additional parameter Embed for MKI_InstanceFastInsert().
Additional parameter RefEntity for MKI_ObjectFastInsert(), MKI_ExtFastInsert(), and such.
Changed parameters and behavior for MKI_BlockFastInsert().
Additional member Gamma and new Copy() member function in MKI_BITMAP_EXPORT.
Additional members ExportPlugIn and Filter in MKI_TASKDEF (also see MKI_COLLECTION_DATA) and new mode MKI_TASKMODE_APPLY_FILTER.
New functions MKI_DialogSliderSet() and MKI_DialogHandleSlider() for slider controls.
New functions MKI_DialogHandleSpinDouble() and MKI_DialogHandleSpinInt64() for custom spin controls.
All previously existing MKI_DialogGetControl* and MKI_DialogSetControl* functions have been renamed to MKI_DialogControlGet* and MKI_DialogControlSet*.
New functions MKI_DialogControlGetInt32() and MKI_DialogControlGetInt64().
Additional parameter Precision for MKI_DialogControlSetDoubleEx().
New options MKI_PROPMODE_CURRENT_LAYER and MKI_PROPMODE_CURRENT_PEN for MKI_DialogXProperty() and MKI_DialogXPropertyMulti().
Additional parameter AddToList for MKI_CommandExternal() and MKI_CommandInternal().
MKI_EnumerateExt(), MKI_PlugInCallInterface(), and MKI_PlugInGetState() now use OwnerID and PlugInID to identify a plug-in (see also MKI_PLUGINID_*).
MKI_ENTITY_PATCH has been changed, it now uses MKI_PATCHPROPERTY to reduce memory requirements.
New parameter Property for MKI_PatchInsert() replaces XProperty.
New function MKI_EditXPropertyResolve().
New function MKI_ColorBrightness().
Additional option MKI_PARTSLIST_ARRANGE_ALL_SINGLE for MKI_PARTSLIST_DATA which changed its array size as a result. Member GroupMode renamed to ArrangeMode. Options MKI_PARTSLIST_GROUP_* renamed to MKI_PARTSLIST_ARRANGE_*.
New command MKI_NOTIFY_ITEM_EDIT_CONTENT for MKI_PlugInNotify(), allowing the user to edit collection items that a plug-in defined (see MKI_NOTIFY_*).
Additional members OptionsOwnerID and OptionsItemType for MKI_PLUGIN_ID to identify collection items containing options.
Several additional predefined collection types (see MKI_COLLECTION_TYPE_*).
Additional parameters CollectionName and ItemName for MKI_PlugInExport(), allowing access to user-saved options.
Alternative versions of MKI_CollectionReadItemOpen() and MKI_CollectionReadPinboardOpen() for direct named item access without user interaction have been added.
Unused parameter Window removed from MKI_CollectionWritePinboardOpen().
MKI_ProfileWriteClear() now also works for collection items opened for writing.
New modes MKI_SETTING_SMALLDLG_* for MKI_SettingGet() and MKI_SettingSet().
Values in MKI_PAGEDISPLAY_* renamed.

 

Release 2022.1.7.5 (July 5, 2022)

Starting with this release, only 64-bit versions of CAD6 and its CAD6interface are available. For a short period, 32-bit versions of CAD6industrie, CAD6studio and their CAD6interface are available upon request if using a 64-bit version is impossible in your environment.
MKI_INTERFACE_VERSION changed to 6221.
The term "unit" as used to describe a drawing part has been replaced with "entity" in all aspects to avoid any naming ambiguity with regard to length and angle units such as millimeters and inches. This affects many function names, class names, member names, and constant names.
The header file MKI_LIB6.H now also includes all legacy declarations for older interface versions that were previously located in the discontinued file MKI_LIB6_OLD.H.
Additional parameter Icon for MKI_DialogCenter(), MKI_DialogPlugInNoTest(), and MKI_DialogPlugInTest().
Additional parameter Code for MKI_DrawingSetChanged() and MKI_UndoFinishProcess() indicating the type of change using MKI_CHANGECODE_*.
New return value MKI_RESULTVALUE for functions such as MKI_DrawingPrint(), MKI_EditIdentEnumModify(), MKI_EnumerateAll(), and MKI_TransformObjectType().
Additional EnumResult member in MKI_ENUMATTRIB_DATA, MKI_ENUMDEF_DATA, and MKI_ENUMEXT_DATA allows the exchange of non-interrupting feedback using MKI_RESULT_*.
Additional Contains member in MKI_DISPLAYDATA allows optimized display operations during a call to the MKI_PlugInNotify procedure.
New MKI_TransformSimplified() function with MKI_SIMPLIFY_DATA as options.
New MKI_ProfileReadSimplifyData() and MKI_ProfileWriteSimplifyData() function.
Additional parameter Options for MKI_DialogTrimSimplify().
MKI_COLLECTION_TYPE_* has been expanded by MKI_COLLECTION_TYPE_COLORSET and MKI_COLLECTION_TYPE_BITMAPEXPORT.
MKI_PRINTPDF_FLAG_* and MKI_PRINTPDF_TYPE_* have been adapted to the new library version 10.0 used by CAD6PDF.
MKI_PRINT_PDF has an additional Gamma member to influence the overall gamma value during output via CAD6PDF.
MKI_DISPLAYDATA has been changed to use a Direct2D device context instead of a Direct2D render target.
New functions MKI_FeedbackHiddenGeo() and MKI_FeedbackHiddenMark().
MKI_FeedbackError() has been renamed to MKI_FeedbackTooltip(), now using MKI_FEEDBACK_*.
New function MKI_PhysicalDeleteEntity().
MKI_EditBlockDelete() has been renamed to MKI_PhysicalDeleteBlock().
MKI_EditDelete() has been renamed to MKI_EditMarkDeleted().
New AngleTo() member function in MKI_VECTOR.
New IsIdentical() member function in many classes to compare two classes' contents.

 

Release 2022.0.4.26 (April 26, 2022)

This final release without a change log is the baseline for all changes listed above.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH