Notifications
Clear all
[Closed] MaxScript – Help with slidertime?
Sep 27, 2017 7:25 pm
Need help with simple MaxScript problem that I am trying to learn, I tried some example from documentation but didn’t find a solution for slidertime and height controler.
I have a Box001, box is animated at keyframes 0 to 5 with height controller. I want to be able to move keyframes and move slider to first keyframe with same command.
What command would be to move slider to first keyframe of a box, regardless if keyframes of a box are moved?
for
$.height.controller.keys[1]
got
#Bezier Float key(1 @ 5f)
After I get value of first keyframe how to define variable for first
keyframe?
Tried:
foo = $.height.controller.keys[1]
slidertime = getkeytime foo [1]
Returns an Error:
– No ““getKeyTime”” function for #Bezier Float key(1 @ 5f)
3 Replies
Sep 27, 2017 7:25 pm
foo = $.height.controller.keys[1]
slidertime = getkeytime foo [1]
slidertime = getKeyTime $.height.controller 1