MKI_UndoGetCount (Entity Creation) New in Version 6.30

www.CAD6.com

C++ Syntax

__int32

MKI_UndoGetCount( void );

 

Returns the current undo count. This value is necessary to store plug-in-specific undo information that can later be recalled when MKI_PlugInCommand is called with either MKI_EXECMODE_UNDO or MKI_EXECMODE_REDO.

 

The number of concurrent undo levels depends on user settings in the serving application. Usually, each command execution should use exactly one undo level. The maximum number of undo levels is MKI_UNDO_MAX (1000).

 

Return Value

The current undo count.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH