[Closed] a couple of quick animation maxscript Q's
Hi there,
I am naf at Maxscript so mock me if you will… I’ve been trying to make a few buttons for things that I use regularly while animating and most of the time it’s ok because they come up in the listener but sometimes they don’t. Like for instance the trackbar filters and I am constantly changing these things. So I was wondering if anyone could tell me how to make a script that would switch to another filter. Like object or current transform or something.
In the help they say to use – trackbar.fiter with these options #all #TMonly #Current #object or #mat But I can’t figure out how to string them together.
If anyone could help it would be much appreciated.
Pete
try:
trackbar.filter = #all
trackbar.filter = #TMOnly
trackbar.filter = #currentTM
trackbar.filter = #object
trackbar.filter = #mat
Impus was faster
tbar = maxops.trackbar
tbar.filter=#mat
But I can’t fin how enumerations work, so you can choose multiple options.
Maybe someone can explain this?
edit: never mind, i missunderstood enumeration.
Georg
Thanks man that worked a treat and now I have a nice little floater. Cheers you rock !!!