MKI_BlockOpen (Entity Creation)

www.CAD6.com

C++ Syntax

MKI_ENTITY_BLOCK_PTR

MKI_BlockOpen( void );

 

Opens a provisional block for data block input. Once opened, the block can be filled with data blocks and subsequently be terminated and appended to a memory list.

 

Only one provisional block is available at a time. Anyway, other provisional entities like object, instance, extended object and group can be open simultaneously. After opening the provisional block, it must later be closed using MKI_BlockClose or MKI_BlockFastInsert.

 

Return Value

Address of the provisional object, if successful. Use this address to set the block's name by copying a string into the ReturnValue->BlockName value of the block. This address can also be used to modify the object's extended properties (located in ReturnValue->XProperty). Please do not modify any other value! If nullptr is returned, this indicates that another provisional object is already open.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH