MKI_UndoFinishProcess (Entity Creation) Changed in Version 2024.2 |
www.CAD6.com |
C++ Syntaxvoid MKI_UndoFinishProcess( __int32 f_nCommand, const LPCWSTR f_pszInfo, __int32 f_nCode );
Validates a previously started undo level. All objects, instances and blocks created since the last MKI_UndoInitProcess call now valid, objects deleted since then are permanently deleted.
Parametersf_nCommandID New in Version 2024.2 [__int32] identifies the plug-in command that is responsible for the changes. The value of f_nCommandID is either zero (if the plug-in has only one command without a submenu) or a value between one and the number of commands listed in the f_pCommandData array of the plug-in's MKI_PLUGIN_ID structure. If the plug-in is either an import or export filter, f_nCommandID should always be zero. f_pszInfo New in Version 2024.2 [const LPCWSTR] Address of a text that describes the command that caused the process (e.g. "Draw > Line > Point - Point"). This text will be displayed in the change history. Only the first 63 characters will be used. Set to nullptr if no description is available. f_nCode New in Version 2022.1 [__int32] Code for the type of change that was performed on the drawing, see MKI_CHANGECODE_*. This type will be used to summarize all changes made to a drawing when asking whether to save it.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH