MKI_RefOpen (Entity Creation) New in Version 6.20

www.CAD6.com

C++ Syntax

MKI_ENTITY_REF_PTR

MKI_RefOpen( void );

 

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

 

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

 

Return Value

Address of the provisional drawing reference, if successful. This address can be used to modify the drawing reference'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 drawing reference is already open.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH