How can I delete currenttime keys directly in trackbar from many objects selected??

I have 1000 objects in my scene and I need a fast script to do it.

I have over 1000 objects selected. Many of them haves a key in the frame 50. I think if there is a script to select and delete directly from the trackbar in frame 50, would be very fast and simply. But the only way I know is to create a large loop, searching and deleting keys from each element.

Comments

Comment viewing options

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

Here!

Here you go bud.

for i=1 to selection.count do
(
	obj = selection[i]
	try(
		selectKeys obj sliderTime
		deleteKeys obj #selection
	)catch()
)

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

rodimus111's picture

In other words, I need a

In other words, I need a function like:
Deletekeys from trackbar in currenttime

Comment viewing options

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