MotionBuilder Forum
Welcome to Autodesk’s MotionBuilder Forums. Share your knowledge, ask questions, and explore popular MotionBuilder topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

moving Range of an animation

3 REPLIES 3
Reply
Message 1 of 4
maudrain
633 Views, 3 Replies

moving Range of an animation

Hi,

 

I have an animation on range 300 - 500

and I want to move this animation to begin in 0. So my animation will have a range of 0-200.

How can I do That?

 

Thank you

Mathieu

3 REPLIES 3
Message 2 of 4
stepan.kment
in reply to: maudrain

One way that will work for sure is accessing all FCurves and changing time property of all keys. This would need recursive parsing of all properties and anim nodes within anim nodes, not really two lines of code, unfortunately.

Someone propose better solution perhaps?
Stepan Kment
MoCap studio lead, pro.bistudio.com
Message 3 of 4
s
Advocate
in reply to: maudrain

Hi,

 

 I have a collection of scripts on my blog - http://neill3d.com/en/motionbuilder/scripts-for-motionbuilder

There you can find a script Char Time To Zero. That's when you have your animation on character skeleton skeleton plotted and base layer is currently setting up, you shift your animation and timeline range to zero by running that script.

 

 Hope that helps.

 

---

  Best regards, Sergey Solohin (Neill3d)

---
Programming and Animation - neill3d.com
Message 4 of 4
angelo.samson
in reply to: s

Hi Sir,

 

I try your script and it works to my need but is there a way in python to remove the asterisk? just like the image below.

 

asterisk.jpg

 

Thank you very much

 

Angelo Samson

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report