Notifications
Clear all

[Closed] Turning on off multiplier curve/ease curve

Anyone know the way to do it? the help file doesnt mention anything about it

the macro-recorder return:
actionMan.executeAction 1 “570” – Track View: Multiplier Curve Out-of-Range Types
but I’m only getting a false when I try to run this command.

2 Replies

you have to understand that any actions works only if window which the action belongs to is activated… so in your case the trackview has to be in focus.
second… the only one action do ON/OFF things for mult/ease curves. and it’s:

actionMan.executeAction 1 "550" 
  -- Track View: Ease/Multiplier Curve Enable Toggle
  

so you can only toggle enable flag. there is no any other functions or methods in mxs about ON/OFF these curves! and more… the part that does do it in max SDK is also broken for many years.

if you still want toggle enable you have:

select the curve(curves)

open and set focus to trackview

execute the action

i can show you how to set focus. all other you can do yourself.

windows.sendmessage trackviews.current.ui.hwnd 0x7 0 0 
 -- where 0x7 is WM_SETFOCUS message id

didnt need more info than that thanks for the tip that’s exactly what I needed