![]() |
MKI_EditIdentDuplicate (Entity Editing) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_EditIdentDuplicate( bool f_fDuplicate );
Create an undo-local working copy of all identified entities allowing the plug-in to modify them now with fully enabled undo capabilities. This will only work if the current command forced a multi-entity identification.
Multi-entity identification is forced by using point types whose names begin with MKI_POINT_ID_MULTI (but not with MKI_POINT_ID_MULTIPOINT). For a complete list of point types, see MKI_POINT_*.
The memory structure of the created copy may not be altered, only the entity's header and the data areas of its data blocks may be modified!
This procedure may only be called inside a MKI_UndoInitProcess and MKI_UndoFinishProcess bracket.
ParametersDuplicate [bool] Determines whether the entities themselves shall be modified or a copy of them. This is equivalent to the "Duplicate" function in the serving application.
Return ValueReturns true if successful. If false is returned, this is usually due to insufficient memory, especially if Duplicate is true.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH