MKI_DatabaseCellSet (Databases) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

MKI_DatabaseCellSet(

 __int32 f_nDatabaseIndex,

 __int32 f_nRowIndex,

 __int32 f_nColumnIndex,

 MKI_CONST_DATABASE_CELL_REF f_rData );

 

Sets the content of the given database cell.

 

Parameters

DatabaseIndex

[__int32] Index of the database whose cell content shall be modified. A value between MKI_BLOCK_INDEX and MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1 indicates an internal database.

RowIndex

[__int32] Index of the cell’s row.

ColumnIndex

[__int32] Index of the cell’s column.

Data

[MKI_CONST_DATABASE_CELL_REF] Address of a buffer that contains the new cell content.

 

Return Value

Returns true if successful, false if not.

 

Comment

To access an internal database, DatabaseIndex must be a value between MKI_BLOCK_INDEX and MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1. 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, DatabaseIndex must be a value between 0 and MKI_DATABASE_MAX - 1.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH