MKI_InstanceOpen (Entity Creation)

www.CAD6.com

C++ Syntax

MKI_ENTITY_INSTANCE_PTR

MKI_InstanceOpen( void );

 

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

 

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

 

Return Value

Address of the provisional instance, if successful. This address can be used to modify the instance's extended properties (located in ReturnValue->XProperty) and the display matrix (located in ReturnValue->DisplayMatrix). Please do not modify any other value! If nullptr is returned, this indicates that another provisional instance is already open.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH