Need help setting up radio button
Hi,
I'm very new to scripting and stumbling at the basics. I followed a script tutorial from Louis Marcoux on how to animate the construction of a building. It's a simple script that rotations and unhides an object or multiple objects and added keyframes.
The problem I have is a want to link it up to a dialog box and control the timing and the direction of rotation. I've made it control the timing but I have no idea how to implement a radio button to control the x,y,z rotation axis.
Also since creating this as a microscript I've lost the abitlity to undo after running the script. It was fine when it was just a standard script, I could undo the keyframes applied but now it doesn't. Is this something to do with it being a microscript?
This is what I have so far and thank you for your help.
Attachment | Size |
---|---|
pavement_layer_animation_dialog.mcr | 1.25 KB |
Comments
Just use something like
Just use something like this:
Hope this helps.
Works like a charm
Thank you so much for this, works like a charm. Never thought about states. I was trying to set it up to substitute the value x,y or z but couldn't get it to work. Still having trouble with the undo function, but I can live without it as long as I save before hand.
Thanks again