Delete child layer keyframes?

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Delete child layer keyframes?

Post by rylleman »

Is there some script to delete all keys in a rig (at a given frame)?
Be it bone keys, vector keys, switch keys. All keys. To remove a pose is a tedious work in AS when you have to go into all child layers and delete keys by hand.
User avatar
ulrik
Posts: 1087
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Post by ulrik »

Yes there is, it's called st_key_none, make a search and see if you find it, if not I have it and can send it.

ulrik
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Hej Ulrik, thank you.
I can't seem to find the script doing searches, where did you find it?
Please send it if you got it. I think you got my mail somewhere? Otherwise it's info at the url of the first link in my signature.
Will save me hours, thanks.
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Thanks Ulrik, got the script through mail.

The script does delete all keys at a given frame, through the whole scene, all layers.
Some keys are however left untouched, like bone dynamics, bone lock, layer order and Switch values.

It is a great help now but I'm going to see if I can change it into deleting all keys and only for the current layer with sublayers.
User avatar
ulrik
Posts: 1087
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Post by ulrik »

rylleman wrote: It is a great help now but I'm going to see if I can change it into deleting all keys and only for the current layer with sublayers.
That would be great :D
User avatar
Víctor Paredes
Site Admin
Posts: 5723
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

ulrik wrote:
rylleman wrote: It is a great help now but I'm going to see if I can change it into deleting all keys and only for the current layer with sublayers.
That would be great :D
Yeah, plese post it here when it's done!
:D
Image Image Image Image Image Image
Moho Product Manager

Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Post Reply