Hi @peterakos, MSG_DESCRIPTION_COMMAND is used to trigger the action of pressing the button.
But in most of the case, if there is a button, it's to do something, so actually modify something which will then probably trigger a MSG_UPDATE.
Moreover you can test it with a Python Generator and UserData button attached. If you click on the button only MSG_DESCRIPTION_COMMAND is triggered.
import c4d
def message(id, data):
if id == c4d.MSG_DESCRIPTION_COMMAND:
print "Button Clicked"
elif id == c4d.MSG_UPDATE:
print "MSG_UPDATE"
return True
def main():
return c4d.BaseObject(c4d.Ocube)
May I ask you what are you trying to achieve?
Cheers,
Maxime.