Hi
Why the scaling change is not in realtime and to see the result i have to move the sliderTime ?
But when i use the dropdownlist from the Animation—>parameter editor, the scaling change will be in realtime
delete objects
TheObj = teapot()
MyAt=(EmptyModifier())
caDef = attributes SclCnt
(
Parameters Params Rollout:RO
(
Dropp type:#index default:1 animatable:on ui:P_list
)--end Paramaters
Rollout RO "Test"
( dropdownlist P_list "Drop_test" width:130 height:6 align:#left items:# ("1","2","3") )
)
addModifier TheObj MyAt
custAttributes.add MyAt caDef
SclScript=TheObj.scale.controller = scale_script()
SclScript.addTarget "sclCnt" TheObj.modifiers[#Attribute_Holder].SclCnt
ss="B=1*sclCnt.Dropp
[B,B,B]
"
SclScript.script = SS
