I put a slider in a custom attribute through maxscript fo an IK fk switch.
However whenenever I deselect the controller that has the custom attribute the slider resets to its original position.
Any ideas on how I should go about making it stick?
Forum topic · General Scripting
By babisouk · 2013-05-21
I put a slider in a custom attribute through maxscript fo an IK fk switch.
However whenenever I deselect the controller that has the custom attribute the slider resets to its original position.
Any ideas on how I should go about making it stick?
sorry
babisouk · 2013-05-22
Here it is.
ca=attributes IKFKswitch
(
rollout sliderroll "Rollout"
(
slider slideit "slider" range: [0,100,100]
on slideit changed arg do
(
$object.rotation.controller.weight = slideit.value
)
)
)
custattributes.add $.modifiers[1] ca
basic rule
barigazy · 2013-05-21
post some code