![]() |
MKI_CommandExternal (Application) Changed in Version 2022.2 |
www.CAD6.com |
C++ Syntaxbool MKI_CommandExternal( __int16 f_nOwnerID, __int16 f_nPlugInID, __int32 f_nCommandID, bool f_fAddToList );
Executes a command in the specified plug-in.
ParametersOwnerID [__int16] This value is a unique identification of the creator of the plug-in. The value MKI_DB_OWNER_MK is reserved for use by Malz++Kassner. Valid range: 0 <= Value < 10000. Third-party vendors that plan to implement a plug-in should contact Malz++Kassner to receive their unique identification (see Getting Your Private Owner ID). PlugInID [__int16] This value is a plug-in identification. This value can freely be managed by the plug-in's creator. For Malz++Kassner plug-ins, see MKI_PLUGINID_*. CommandID [__int32] Identification of the plug-in's command to executed. For a list of available command IDs, please contact the plug-in vendor. AddToList New in Version 2022.2 [bool] If true, the executed command will be added to list of recently used commands (aka "Command History").
Return ValueReturns true if an according plug-in was found (which does not necessarily mean that the command was actually executed). Otherwise, false is returned.
CommentIf the executed command is a permanent command, i.e. a command that is active until the user selects another command, the procedure will return immediately after initializing the command! Only "direct" commands that do not require point entry will be completely finished when MKI_CommandExternal returns.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH