<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Run animation from keyframe x to keyframe y in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/run-animation-from-keyframe-x-to-keyframe-y/m-p/13591187#M87075</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Is it possible, in a simple way, to run an animation from keyframe X to keyframe Y? I.e. from keyframe 2 to keyframe3.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76379-animation.fsm" target="_blank"&gt;Animation.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 24 Nov 2023 08:19:58 GMT</pubDate>
    <dc:creator>lars_jacobsen_ScandiSim</dc:creator>
    <dc:date>2023-11-24T08:19:58Z</dc:date>
    <item>
      <title>Run animation from keyframe x to keyframe y</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/run-animation-from-keyframe-x-to-keyframe-y/m-p/13591187#M87075</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Is it possible, in a simple way, to run an animation from keyframe X to keyframe Y? I.e. from keyframe 2 to keyframe3.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76379-animation.fsm" target="_blank"&gt;Animation.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Nov 2023 08:19:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/run-animation-from-keyframe-x-to-keyframe-y/m-p/13591187#M87075</guid>
      <dc:creator>lars_jacobsen_ScandiSim</dc:creator>
      <dc:date>2023-11-24T08:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Run animation from keyframe x to keyframe y</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/run-animation-from-keyframe-x-to-keyframe-y/m-p/13591188#M87076</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;To sklp to the next keyframe you could try stopping the animation after a breathe and then use Animation.resume(RESUME_AT_NEXT_KEYFRAME). Then if you know the time between the keyframes* you can stop it finally at the third keyframe. Using that technique it should be quite simple to create a subflow to run based on passed parameters - startkeyframe and numkeyframes.&lt;/P&gt;&lt;P&gt;Example attached.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76381-animation-keyframe-2to3.fsm" target="_blank"&gt;animation_keyframe_2to3.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;* You can find the duration of the keyframes from the difference in keyframe node values (from the tree). If you've specified a different duration when starting the animation then you'll need to calculate the effective keyframe intervals on a pro-rata basis assuming they are scaled linearly.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Nov 2023 11:52:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/run-animation-from-keyframe-x-to-keyframe-y/m-p/13591188#M87076</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-11-24T11:52:54Z</dc:date>
    </item>
  </channel>
</rss>

