MKI_DatabaseGetData (Databases) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

MKI_DatabaseGetData(

 __int32 f_nDatabaseIndex,

 MKI_DATABASE_DATA_REF f_rData );

 

Retrieves the data of the given database.

 

Parameters

DatabaseIndex

[__int32] Index of the database whose data shall be retrieved. A value between MKI_BLOCK_INDEX and MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1 indicates an internal database: MKI_BLOCK_INDEX refers to the drawing's default internal database (with empty name), MKI_BLOCK_INDEX + 1 through MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1 refer to the other named internal database (with non-empty names). To access an external database, use value between 0 and MKI_DATABASE_MAX - 1.

Data

[MKI_DATABASE_DATA_REF] Address of a buffer to receive the data of the given database.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH