Hi
I have a userdata button on a null and a python tag on that null. In the tag i try to get the state of the button on the object:
import c4d
#Welcome to the world of Python
def message(id, data) :
if id == 17:
print "UserData-ID: ", data["descid"][1].id
This only works if the userdata button is on the tag. How can i get the state of the userdata botton on the object from inside the python tag?
Regards
Bonsak