object_setvalueof / object_getvalueof - how to get it working

lx's icon

Hey,

...ok, this is probably super easy but can someone give an example how to set, get values
of standart max objects from an external? in my case I'd like to set/get values of umenus, toggles, ints

is there another way than object_setvalueof / object_getvalueof ?

lx's icon

solved, I was confused about the mentioning of the pattr sdk.
so if someone wants to do this.: if you have the object pointer, you can just use object_setvalueof / object_getvalueof
the object in the patch does not have to be "connected" to autopattr or the pattrstorage system in the pach