MKI_ExtDataAddContainer (Entity Creation) Changed in Version 2021.0

www.CAD6.com

C++ Syntax

MKI_ENTITY_OBJECT_PTR

MKI_ExtDataAddContainer(

 MKI_ENTITY_OBJECT_PTR f_pObjPtr );

 

This procedure adds a container object to the extended data list of a currently open provisional extended object (see MKI_ExtOpen or MKI_ExtDataOpen).

 

Parameters

ObjPtr

[MKI_ENTITY_OBJECT_PTR] Address of the container object to be copied to the extended data list. This can be either an already existing container (e.g. in another object's list) or a new container created by calling MKI_ContainerBuffer, adding all required data blocks using MKI_BLOCK_ENUM methods, and finally terminating it using MKI_BLOCK_ENUM::TerminateAndSetSize!

 

Return Value

Returns the address of the new object if it was successfully inserted. Returns nullptr if the insertion was not successful, normally due to insufficient memory.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH