I'm wondering if there's a way to automatically (either through max's native tools or script) shift keyframes of an animation to the nearest multiple of 5? I'm working with mocap and I'd like to be able to shift selected keyframes either up or down a fraction to the closest 5. So if there's keys on 7 they'd move down to 5 and keys on 9 they'd move up to 10.
Replies
http://pastebin.com/Ut3FQhhB
"Unknown property: "pos" in $selection"
I copied your script and saved it as a .ms file then selected all of the biped bones and hit Run Script. Tried selecting the keyframes themselves and got the same error. I'm working in Max 2014.