Hi,
I'm applying transformations with code (a mix of msx and maxplus). This seems to offset existing animation on my objects, which is unfortunately not what I want. Enabling "set key" in the interface, get's around this behavior.
I can toggle "set key" with "max set key mode", but I also need to know it's state beforehand and I'm not sure how to get that. I'd also need "auto key" off during my operations and want to preserve it's state for the user.
Any pointers on this or an alternative way to manipulate transforms, without offsetting everything? Below is some "pseudo code", that uses a Python context
Thanks!
(Me==Über Max noob)
class SetKeyOn:
--"""Context that temporarily enables set key state"""
--def __enter__(self):
----self.key_state = get_setkey_state()
----set_setkey_state(True)
--def __exit__(self):
----set_setkey_state(self.key_state)
with SetKeyOn():
--with AutoKeyOff():
----"move stuff around, without offsetting animation or setting auto keys"