|
MKI_DatabaseOpen (Databases) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntax__int32 MKI_DatabaseOpen( MKI_CONST_DATABASE_DATA_REF f_rData, bool f_fInternalDatabase, bool f_fNoDialog );
Opens a database based on the given data.
ParametersData [MKI_CONST_DATABASE_DATA_REF] Data for the database to be opened. If InternalDatabase is true (loading to internal database) and Data->FileName is set to MKI_CHAR_SYSTEM or is empty then a database file named like the current drawing (the extension is either set to "csv" or "dbf" depending on Data->FileType) is loaded into the internal database. If the name specified in Data->DatabaseName already exists, i.e. a database with the same name has already been opened, then the already existing database is updated only. InternalDatabase New in Version 2019.0 [bool] Pass true if the database shall be loaded as an internal database or false if the database shall be loaded as an external database. NoDialog New in Version 2025.1 [bool] If true, no error messages and no progress dialog will be displayed.
Return ValueIndex of the database if successful, otherwise a negative value is returned.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH