MKI_NOTIFY_EDIT_PARAMETER (Plug-In Notification Command) New in Version 2023.2 |
www.CAD6.com |
The plug-in shall display a dialog that allows parameter editing for special parameters within an extended object.
Special parameters are beyond the scope of normal property editing as they may change the number, order, or size of data blocks in the extended object itself.
ParametersExt Address of the object for which a parameter editing dialog shall be displayed by the plug-in. Data Address of a HWND element which contains the window handle of the window to be used as parent for the plug-in's dialog.
Return ValueMKI_NOTIFY_RESULT_COPY Ext is known, its parameters were edited by the user. MKI_NOTIFY_RESULT_IGNORE Ext is known, its parameters were displayed to the user, but no changed were made, or this type of extended object does not include texts, or if editing the parameters is not possible. MKI_NOTIFY_RESULT_UNKNOWN Ext is not known or task not supported, ask the other plug-ins.
Note: Since special parameter editing may cause the extended object to change in size, the plug-in must always create a new extended object based on the previous object, but based on the new parameters. This new object must be created using MKI_ExtOpen and commands such as MKI_ExtAddPoint and MKI_ExtAddDataBlock. Once MKI_NOTIFY_RESULT_COPY was returned, the application will automatically execute code similar to MKI_ExtFastInsert, replacing the object Ext with the newly created extended object. The plug-in must neither call MKI_ExtAddEnd, MKI_ExtInsert, MKI_ExtClose nor MKI_ExtFastInsert itself while creating the new extended object!
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH