MKI_ObjectCopyBaseAttributes (Entity Creation) Changed in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_ObjectCopyBaseAttributes(

 MKI_CONST_ENTITY_PTR f_pRefEntity );

 

Copies all base attribute data blocks (only global and local attributes) contained in a reference entity (excluding the MKI_DB_END block) to a previously opened provisional object (see MKI_ObjectOpen). They will be appended to already existing data blocks. No check for duplicate attribute names is performed.

 

Parameters

RefEntity

[MKI_CONST_ENTITY_PTR] Address of a reference object whose data blocks are to be copied.

 

Return Value

Returns true if all data blocks were copied and added successfully. If false is returned, this indicates that the object would be too large after adding those data blocks.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH