MKI_BlockAddEntity (Entity Creation) New in Version 6.0

www.CAD6.com

C++ Syntax

MKI_ENTITY_PTR

MKI_BlockAddEntity(

 MKI_CONST_ENTITY_PTR f_pRefEntity );

 

Adds the copy of an existing entity to a previously opened block (see MKI_BlockOpen).

 

Parameters

f_pRefEntity

[MKI_CONST_ENTITY_PTR] Address of the entity whose copy shall be added to the block.

 

Return Value

Returns the address of the entity’s copy added to the block. Returns nullptr if the process was not successful, normally due to insufficient memory.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH