|
MKI_EditDuplicate (Entity Editing) New in Version 2025.1 |
www.CAD6.com |
C++ Syntaxbool MKI_EditDuplicate( __int32 f_nFlag, bool f_fDistorted, bool f_fDuplicate );
Create a working copy of entities.
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!
Parametersf_nFlag [__int32] Determines which entities shall be duplicated. Use 0 to duplicate all entities of the drawing or any combination of MKI_FLAG_* to duplicate a specific subset of entities. f_fDistored [bool] Determines whether the entities shall be converted to distortable entities while copying (circle arcs will become ellipse arc or Bézier curves). f_fDuplicate [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 f_fDuplicate is true.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH