Notifications
Clear all

[Closed] Spinner help please

Hi

I have just created a modifier with spinners on the interface. I need to be able to make these spinners animatable. How would i go about doing this/

regards

nebille

7 Replies
 rdg

nebille,
there is a setKeyBrackets parameter for the spinner declaration.
I guess you need this in your modifer script.

Georg

thanks g ,much appreciated

i will take a look

nebille

I have tried the above mentioned by george which just allowed me to enable the red brackets but this still does not allow me to animate the spinner. If i have a look in the curve editor the modifier shows but the spinners dont.

Not sure at all what to do.

Does anyone have any example scripts with animatable spinners in?

regards

Nebille

 rdg

then maybe you missed the ‘animatable:true’ in the parameter section?
I just tried the sample in the reference: the “supamod” and it is animatable …

Georg

(

parameters main rollout:params

(

whatStart type:#integer animatable:true ui:whatStart default:0.0

)

rollout params “Animate Options”

(


spinner whatStart “Start Frame : “


spinner whatEnd “End Frame : “


)

)

Thanks for all the help people it was much appreciated. All working now

1 Reply
(@blue)
Joined: 11 months ago

Posts: 0

Just an observation, but is there a reason why you are declaring the spinner as an integer but giving it a default value of 0.0?

thanks for noticing. sloppy coding.