MKI_NOTIFY_PROPERTY_APPLY (Plug-In Notification Command) Changed in Version 6.10 |
www.CAD6.com |
The plug-in shall apply the properties stored in the structure related to Ext, plus all standard properties set in Data, if applicable.
ParametersExt Address of one object whose properties shall be modified based on the static plug-in-local property structure and the standard properties in Data. Data Address of a MKI_MULTI_INFO structure that contains all standard properties that shall be applied to Ext, if applicable.
Return ValueMKI_NOTIFY_RESULT_DONE Ext is known, everything was applied to the original object. MKI_NOTIFY_RESULT_IGNORE Ext is known, everything was applied by creating a modified duplicate of Ext. MKI_NOTIFY_RESULT_UNKNOWN Ext is not known or task not supported, ask the other plug-ins. May also be returned if the plug-in chooses to not perform this operation by itself, but instead let the serving application apply its default property handling (just applying the given properties to Ext but not to any linked entities).
Note: As property application may cause the extended object to change in size, the plug-in may have to create a new extended object according to the new properties. This new object must be created using MKI_ExtOpen and commands such as MKI_ExtAddPoint and MKI_ExtAddDataBlock. If this case, return MKI_NOTIFY_RESULT_COPY instead of MKI_NOTIFY_RESULT_DONE so that the serving application will automatically execute code similar to a MKI_ExtFastInsert command, replacing the object Ext with the newly created extended object. The plug-in should 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