MKI_EditMarkDeleted (Entity Editing) Renamed in Version 2022.1

www.CAD6.com

C++ Syntax

void

MKI_EditMarkDeleted(

 MKI_ENTITY_PTR f_pEntity );

 

Marks the entity as "deleted" maintaining its undo structure, i.e. the entity is not physically deleted and can be undeleted by the user by means of the undo command. The entity will only be deleted from memory if the maximum of undo steps were performed after calling this function, or if the user clears all undo data.

 

This procedure may only be called inside a MKI_UndoInitProcess and MKI_UndoFinishProcess bracket!
 
It will only work for entities that are part of the current drawing's object list. You cannot use this command to "delete" objects inside structures such as blocks and groups! Use MKI_PhysicalDeleteEntity to do so.

 

Parameters

Entity

[MKI_ENTITY_PTR] Address of the entity to be marked as "deleted". Make sure that this address points to an entity located in the current drawing! If not, the system might reveal unexpected behavior.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH