Change Log Release 2023 (API)

www.CAD6.com

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

 

Release 2023.2.12.19 (December 19, 2023)

New member Interruptible in MKI_BUFFER.

 

Release 2023.2.10.10 (October 10, 2023)

MKI_INTERFACE_VERSION changed to 6232.
New members ManualRotate, Grouped, and Convert, as well as new modes MODE_EMBED and MODE_CONVERT in MKI_INSERTBLOCK_DATA.
New member function GetOutlineCount() in MKI_ENTITY_OBJECT.
New member function IsFillable() in MKI_FONTDEF.
New extended object flag MKI_EXTFLAG_PARAM, plus corresponding MKI_NOTIFY_EDIT_PARAMETER and MKI_NOTIFY_VIEW_PARAMETER modes for MKI_PlugInNotify.
New function MKI_DialogTrimGenerate().
Additional parameter Secondary for MKI_InputDrawTempEntity(), MKI_InputGetGeneratedSurface(), and MKI_InputGetTempEntity().
New parameters Mode, Tolerance, and Simplify for MKI_InputGetGeneratedSurface() replacing UseSnapGuide.
New class MKI_TIMER implementing a passive high-accuracy timer.
Additional parameter Timer for MKI_BUFFER::AddEnumerate(), MKI_BUFFER::AddTempory() and MKI_BUFFER::Prepare().
New snap result point type definition MKI_SNAPTYPE_* used in MKI_SNAP_POINT.
Snap mode MKI_SNAPMODE_OTHERS renamed to MKI_SNAPMODE_SPECIAL, modes MKI_SNAPMODE_GEO and MKI_SNAPMODE_MARK removed.
Icon numbers MKI_ICON_ID_SNAPMODE_GEO and MKI_ICON_ID_SNAPMODE_MARK are no longer available.
The new MKI_InputGenerateSurfaceStep1() and MKI_InputGenerateSurfaceStep2() functions replace the former MKI_InputGetGeneratedSurface() to allow faster processing of complex scenes and live preview.
New members LineMax and CircleMax in MKI_SIMPLIFY_DATA.
MKI_GeoReverse() has been renamed MKI_TransformReverseAllOutlines() and moved to section "Entity Editing", MKI_TransformReversed() has been renamed MKI_TransformReverseOneOutline(). MKI_TransformSimplified() has been renamed MKI_TransformSimplify(). MKI_TransformInverted() has been renamed MKI_TransformInvert().
All remaining MKI_Geo*() functions have been renamed MKI_Calc*() and moved to section "Calculation".
Changed parameter Simplify for MKI_CalcEquidistant() and MKI_CalcEquidistantEx().
New member functions IsFlagSet() and IsFlagClear() in MKI_BLOCK_BASE, MKI_BLOCK_ENUM and MKI_ENTITY_BASE.
New members LineComment in MKI_LINEDEF, SystemComment in MKI_SYSTEMDEF, HatchComment in MKI_HATCHDEF, and Comment in MKI_VARIABLEDEF.
New function MKI_VariableGetComment().
New member function IsIdentical() in MKI_LINEBLOCKDEF. Members BlockName and LibraryName may be empty to be used as a gap.
The MKI_BASEMODE_SHOW_COMMENTS flag in PenBaseMode of MKI_PENDEF and LayerBaseMode of MKI_LAYERDEF will now be ignored because that setting has become user-controlled. This also affects MKI_PenSetBaseMode() and MKI_LayerSetBaseMode(). When requesting the mode using MKI_PenGetBaseMode() and MKI_LayerGetBaseMode(), the current user setting will be reported (although it cannot be changed).
Additional parameters Background and Text for MKI_DrawEntity(). It no longer allows nullptr as entity pointer.
New function MKI_DrawClear().
New member Size and new member function HasFrame() in MKI_TASKDEF.
New point input types MKI_POINT_SELECTAREA1 and MKI_POINT_SELECTAREA2 (see MKI_POINT_*).
Additional parameters Min and Max in MKI_DialogInt32() and MKI_DialogInt64().
MKI_HATCH_MAX increased to 1,000.
New functions MKI_ProfileReadVariable() and MKI_ProfileWriteVariable().
New pinboard and collection item type MKI_COLLECTION_TYPE_VARIABLE (see MKI_COLLECTION_TYPE_*).
New member Current and new member function AddSorted() in MKI_IDENTDATA.
New commands MKI_NOTIFY_EXT_CONTEXT_FILL, MKI_NOTIFY_CONTEXT_APPLY and MKI_NOTIFY_CONTEXT_HELP for MKI_PlugInNotify() have been added (see MKI_NOTIFY_*) to support the new context menu.
New classes MKI_CONTEXT_COMMAND and MKI_CONTEXT_MENU, as well as constant MKI_PLUGIN_CONTEXT_MAX.

 

Release 2023.1.6.6 (June 6, 2023)

MKI_INTERFACE_VERSION changed to 6231.
MKI_MKD_VERSION changed to 6231.
New function MKI_DialogControlSetCoordinate().
The former class MKI_MULTIENTITY_INFO has been renamed to MKI_MULTI_INFO. All contained classes have been renamed accordingly. All flags corresponding with their elements are now defined locally instead of globally.
New class MKI_MULTI_BASE as a generic base for all multi-entity editing classes such as MKI_MULTI_XPROPERTY.
New member functions Init(), Fill(), Apply() in all multi-entity editing classes such as MKI_MULTI_XPROPERTY.
New member FlagBase in MKI_MULTI_XPROPERTY.
The former member Position (in internal millimeters) has been changed to PointUnits (in length units) in MKI_MULTI_INSTANCE and others to allow correct changing of only one coordinate over multiple entities with a rotated coordinate system.
New multi-page editing classes MKI_MULTI_PAGEDEF and MKI_MULTI_SYSTEMDEF.
New commands MKI_NOTIFY_EXT_GET_INFORMATION and MKI_NOTIFY_EXT_GET_PROPERTY for MKI_PlugInNotify() have been added (see MKI_NOTIFY_*).
The possible return values for all MKI_PlugInNotify() commands are now entirely documented (see MKI_NOTIFY_*).
New mode MKI_EXECMODE_BUTTON_HELP for MKI_PlugInCommand() to display help of plug-in window buttons.
New member function GetMultiXProperty() in MKI_ENTITY_BASE, former member function GetXProperty() has been removed.
New member function IsTextOnlyObject() in MKI_ENTITY_OBJECT.
New functions MKI_DialogHandleRadio() and MKI_DialogInitRadio() for radio button dialog control handling.
New functions MKI_DialogHandleCheckClear(), MKI_DialogHandleCheckInvert(), MKI_DialogHandleCheckSet(), and MKI_DialogInitCheck() for check box dialog control handling.
New classes MKI_TOOLTIP_ENTRY and MKI_TOOLTIP_LIST to easily associate tooltip texts with controls in dialog windows.
Additional parameter NoPrompt for MKI_EditScanForEscape().
New mark symbol form constants (see MKI_MARKFORM_*).
New options MKI_SETTING_MARKFORM, MKI_SETTING_MARKSIZE, MKI_SETTING_MARKZOOMABLE and MKI_SETTING_MARKCOLORED for MKI_SettingGet() and MKI_SettingSet() to influence the display of markings.
New options MKI_SETTING_GRIDFORM and MKI_SETTING_GRIDSIZE for MKI_SettingGet() and MKI_SettingSet() to influence the output of grids.
The Section =PROFILE= entries MKI_MKD_ENTRY_DISPLAY_MARKS, MKI_MKD_ENTRY_OUTPUT_MARK and MKI_MKD_ENTRY_OUTPUT_GRID have been changed.
New icon IDs MKI_ICON_ID_MARK_0 through MKI_ICON_ID_MARK_7 for marking symbol forms.
The term "Scenario" has been replaced with the term "Task" in all aspects of the interface, including type and constant names. The file section keyword =SCENARIO= remains unchanged. In the application, those elements are named "Procedures".
The former "View" menu has been renamed to "Manage", the former "Shape" menu has been renamed to "Modify". As a result, all MKI_MENU_VIEW_ and all MKI_MENU_SHAPE_ constants have been renamed to MKI_MENU_MANAGE_ and MKI_MENU_MODIFY_. In addition, all MKI_MENU_DIM_ constants have been renamed to MKI_MENU_TEXT_ and partly restructured in accordance to the actual menu structure.
New option MKI_GUIDE_RBUTTON_OPTION as well as renamed options MKI_GUIDE_RBUTTON_CANCEL and MKI_GUIDE_RBUTTON_FINISH for MKI_DialogUpdateGuide().
MKI_LIBRARY_MAX increased to 200.

 

Release 2023.0.2.14 (February 14, 2023)

MKI_INTERFACE_VERSION changed to 6230.
MKI_MKD_VERSION changed to 6230.
New inline entity enumeration class MKI_ENTITY_ENUM with list indexes MKI_ENTITYLIST_* and enumeration modes MKI_ENTITYENUM_*.
Added support for 3D mappings (extended object of type MKI_OBJ_MOD2_MAPPING).
New member functions IsExt3D(), IsExt3DAssembly(), IsExt3DMapping(), IsExtGradient(), and IsExtParametric() in MKI_ENTITY_BASE.
New member function IsSpecialObject() in MKI_ENTITY_OBJECT.
New functions MKI_InputDrawFadedRect() and MKI_InputDrawPatch().
Additional parameter Color for MKI_InputDrawReference().
New function MKI_EditRefreshAll().
New function MKI_DrawEntity() to draw an entity preview in a dialog window control.
New member functions ControlDrawInit(), ControlDrawExit(), DrawPixelPatch(), DrawPixelEllipse(), DrawPixelEndless(), IsVisible(), IsPrinted(), IsLocked(), IsSnapped(), and IsGrayed() in MKI_DISPLAYDATA.
New member XProperty in MKI_DISPLAYDATA.
Changed color parameters for many members functions of MKI_DISPLAYDATA.
New functions MKI_ColorConvertD2D() to convert a MKI_COLORVALUE to D2D color format fast.
Additional parameter Text for MKI_DISPLAYDATA::DrawPixelOrigin().
New member functions ApplyDefault(), IsStandard(), IsVisible(), IsPrinted(), IsLocked(), IsSnapped(), and IsGrayed() in MKI_XPROPERTY.
New class MKI_PATCH for simple display elements.
The former command MKI_NOTIFY_GET_TITLE for MKI_PlugInNotify() has been renamed to MKI_NOTIFY_GET_TITLEPTR (see MKI_NOTIFY_*), it now returns the address of a static title text instead of copying the text to a buffer.
The former commands MKI_NOTIFY_EXT_DELETE, MKI_NOTIFY_EXT_MOVE, and MKI_NOTIFY_EXT_COPY for MKI_PlugInNotify() have been replaced with MKI_NOTIFY_EXT_CREATE, MKI_NOTIFY_EXT_MODIFY, MKI_NOTIFY_EXT_HIDE, MKI_NOTIFY_EXT_SHOW, and MKI_NOTIFY_EXT_DESTROY (see MKI_NOTIFY_* and example in Editing Extended Objects).
New commands MKI_NOTIFY_PROPERTY_BASEAPPLY, MKI_NOTIFY_MODIFY_INIT, MKI_NOTIFY_MODIFY_FINISH and MKI_NOTIFY_MODIFY_CANCEL for MKI_PlugInNotify() have been added (see MKI_NOTIFY_*).
New member Description in MKI_GEO_OBJECT.
Renamed members BestPoint and BestType as well as new members Description1 and Description2 in MKI_SNAP_POINT.
New point input mode MKI_POINTMODE_NO_HIGHLIGHT (see MKI_POINTMODE_*).
New member function SetDefault() in MKI_SIMPLIFY_DATA.
New class MKI_DIMPARAM with partially separate dimension parameters for "length" and "angle" dimensions.
Additional parameter IsAngle for MKI_ObjectAddDimLarge() and MKI_ObjectAddDimSmall().
Additional parameter IsAngle for the member functions CopyParam(), InitParam(), and InitSmall() of MKI_DIMSMALL and InitLarge() of MKI_DIMLARGE.
Changed Data member in MKI_MULTIENTITY_DIMPARAM, new flags MKI_DIMPARAM_USE_LENGTHMODE and MKI_DIMPARAM_USE_ANGLEMODE.
New member OptionText in MKI_BUTTON_DATA.
Additional parameter Step for MKI_DialogSliderSet() and MKI_DialogHandleSlider().
MKI_POLYPOLY_MAX increased to 30,000.
MKI_SYSTEM_MAX increased to 100.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH