Hi guys, it is possible to manage the time of each black point of the Animation & Component time from a table?
Thank you!
Hi guys, it is possible to manage the time of each black point of the Animation & Component time from a table?
Thank you!
Attached is an example model that demonstrates how you can use Animation Variables to adjust certain component values dynamically.
I added animation variables for the X, Y, and Z components of the middle keyframe in the animation.
On Entry of the Processor, I set those animation variables based on data from a global table, looking up the row by item type.
Thus, the box runs the same animation for each item, but it animates to a different position depending on the item type.
Reading the question again, I'm not sure if I follow exactly what you are asking. My answer may or may not have been helpful depending on how dynamic you want the table updates to be.
If you just want to adjust the times of the keyframes once after importing table data or once on reset, then you could just write a script that sets the node values of those keyframes to the values from the table and execute that script after loading new table data or on reset.
If you are planning on adjusting the table values on the fly while the model is running, then you should use animation variables. My example showed setting the X/Y/Z components, but you could also adjust the timing component of the keyframe instead.
If you want to adjust how long the animation takes each time you run it, but the relative scale of how far apart each keyframe is stays the same, then you can simply adjust how long to run the animation when you start it. The Animation.start() command and Run Animation activity have optional parameters for specifying speed type, speed value, repeat type, and repeat value, which enable you to dynamically adjust how long an animation runs when you start running it, which can "manage the time of each black point" in the animation if that's what you mean by that.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved