On 06/01/2015 at 03:22, xxxxxxxx wrote:
I have a res based ObjectData plugin with two buttons and a real input field. I am able to catch once buttons are clicked, but am unable to catch if real value is changed. Using the following code:
BUTTON_HELP = 2001 BUTTON_INFO = 2002 REAL_VALUE = 2003 def Message(self, node, type, data) : if type==c4d.MSG_DESCRIPTION_COMMAND: if data['id'].id==2001: self._openHelpPdf(); # User clicked HELP Button if data['id'].id==2002: self._openAboutWin(); # User clicked INFO Button if data['id'].id==2003: print "Value changed" # THIS DOES NOT WORK
So in order to catch if value is changed, should I be using some other MSG_DESCRIPTION command?