|
MKI_EngineStart (Engine) New in Version 2025.1 |
www.CAD6.com |
C++ Syntaxbool MKI_EngineStart( MKI_CONST_ENGINE_DATA_REF f_rData )
Starts the engine, i.e. initializes the DLL, allocates all required memory, loads all used libraries, fonts, collections, notebooks, databases, etc.
Once the engine was started, you can use all API functions that are part of the engine to create, edit, print, save, and visualize drawing data. You might want to call MKI_GetApplicationState() or MKI_ApplicationIsDisabled() first to see which state the Engine is in (trial mode, licensed, locked, etc.).
The engine can only be started once for each application. Any additional call to MKI_EngineStart() will do nothing and return false. You can, however, start your application multiple times, using the engine in each instance of the application.
In order to stop the engine later on, call MKI_EngineStop() where you can decide whether to save any changes to settings since the engine was started. If you fail to call it, changes to settings will be lost in any case.
Only available in CAD6engine!
Parametersf_rData [MKI_CONST_ENGINE_DATA_REF] Parameters for the engine and a possible user interface to be displayed later by means of MKI_EngineUserInterface().
Return ValueReturns true if the engine was successfully started and can now be used.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH