MKI_DatabaseCopy (Databases) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

MKI_DatabaseCopy(

 __int32 f_nTargetDatabaseIndex,

 __int32 f_nReferenceDatabaseIndex );

 

Copies the complete content of the reference database to the target database.

 

Parameters

TargetDatabaseIndex

[__int32] Index of the target database. 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.

ReferenceDatabaseIndex

[__int32] Index of the reference database. A value between MKI_BLOCK_INDEX and MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1 indicates an internal database.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH