Select all Keys on Curve like in Maya

Hi there,

does anyone has the urge while animating to select a whole curve?
or all keys from a curve?)

In Maya it's easy. Just click on a curve.. but in max?! no way..

Can someone write a script that will allow me to do that?

perhaps:
select a key on a curve
press a hotkey with the script attached
the script then selects all keys on that curve
(and this would be nice for multiple curves too!)

I really hope someone can do this! this would be a real time saver!
I tried to find the right max script commands but I failed.. :(

I count on this epic forum!
Cheers!

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

Select All Track Keys

selectKeys $[3][1].track --select all position controller keys
--or you can use this but it's the same
selectKeys $.pos.controller
--For rotation and scale track keys use:
selectKeys $[3][2].track --rotation keys
--or
selectKeys $.rotation.controller
----------------------------------------------
selectKeys $[3][3].track --scale keys
--or
selectKeys $.scale.controller
--You can also specify the interval or time.
--This is the text from maxscript help:
--selectKeys <controller> [ <interval> | <time> ]
--Selects the specified keys in the track view. If an interval 
--is given, all the keys within the interval are selected. 
--If a single time is given, the key at that time is selected. 
--If no time or interval is given, select all keys.
selectKeys $[3][1].track (interval 0f 30f) -- select all keys in --interval from 0 to 30 frames
selectKeys $[3][1].track 29f -- select single key at 29 frame
--For more info read the topic in "Controller Key Functions" --maxscript help

bga

pixhellmann's picture

Thanks for the hints! but I

Thanks for the hints!

but I meant it in a more general way. there are more curves than pos/rot/scale. what about parameters etc.

so I thought of a script that takes my already selected keys on any given curve an then selects all the other keys that belong to that curves. basically a workaround for the missing feature of selection a whole curve by clicking on it.

perhaps we need to get the current Keys and determine the controllers on which they are stored and then use the selectKeys function on these controllers.

hope I can make it clear what I mean.. :D

thank you!

Interactive, real-time, apps, games, character, animation, visualization, TV commercials, marketing and print material. Visit www.mld-digits.de

barigazy's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.