ScriptSpot

Forum topic · General Scripting

AutoKey - non-keyable spinners???

By gramx · 2011-03-09

Description

Hi

I have written a script that adds several custom spinner attributes to an object. Is there a way to add a spinner that doesnt create a key when its changed? I have looked in the help and can only find the setKeyBrackets: attribute.

The spinner is being wired to a non-animatable perammeter and I don't want any keys on the custom attribute when changed by the User.

Thanks

g

Comments (2)

Thanks Anubis

gramx · 2011-03-10

Great! Just what I was looking for.

many thanks

gramx

Anubis · 2011-03-10

Set animatable:OFF for you spinner into the param block

parameters main rollout:"params"
(
   spName type:#integer default:1 animatable:OFF ui:sp_uiName
)
rollout params "Parameters"
(
   spinner sp_uiName "Label:" type:#integer range:[-12,12,1]
)