On 13/12/2016 at 02:01, xxxxxxxx wrote:
Hello,
SetDParameter() is a virtual function that let's you implement the behaviour of SetParameter() of your plugin class. So every time someone or something calls SetParameter() of your thingy, this call is redirected to SetDParameter(). SetParmeter() could be called when someone is editing the plugin's parameters in the Attribute Manager but also in other cases e.g. from the Take System, Xpresso, another plugin etc. See NodeData::SetDParameter() Manual.
MSG_DESCRIPTION_XYZ messages are sent from the DescriptionCustomGui element. This GUI element is used to display and edit NodeData parameters. One use case is the Attribute Manager. These messages are sent when the plugin in question is edited with the Attribute Manager. So when one edits a parameter of a plugin with the Attribute Manager this will set the (new) parameter value by calling SetParameter (which will in return be redirected to SetDParameter). And after that - as the name suggest - the message MSG_DESCRIPTION_POSTSETPARAMETER is sent. See NodeData::Message() Manual.
So SetDParameter() will be called every time someone or something changes a parameter of your plugin using SetParemeter(). This may or may not be user interaction through the Attribute Manager.
MSG_DESCRIPTION_POSTSETPARAMETER is sent after a user used the Attribute Manager to edit a parameter.
best wishes,
Sebastian