<?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 Setvariable of forklift forkinitialheight in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/setvariable-of-forklift-forkinitialheight/m-p/13512672#M25400</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I'd like to adjust fork height of forklift, I write both two ways.&lt;/P&gt;
 &lt;P&gt;setvarnum(Model.find("AGV02"), "forkinitialheight", 0.45);&lt;/P&gt;
 &lt;P&gt;getvarnode(Model.find("AGV02"), "forkinitialheight").value = 0.45;&lt;/P&gt;
 &lt;P&gt;May I ask why the fork only lift down for a short moment, after that it turns out to be it's original height? How could I change it's defaulted variable? Thank you!&lt;/P&gt;
 &lt;P&gt;&lt;SPAN class="fr-video fr-dvb fr-draggable"&gt;
   &lt;VIDEO controls="" src="https://forums.autodesk.com/storage/attachments/46258-1.mp4"&gt;
    Your browser does not support HTML5 video.
   &lt;/VIDEO&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Nov 2021 10:05:26 GMT</pubDate>
    <dc:creator>shanice_c</dc:creator>
    <dc:date>2021-11-25T10:05:26Z</dc:date>
    <item>
      <title>Setvariable of forklift forkinitialheight</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setvariable-of-forklift-forkinitialheight/m-p/13512672#M25400</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I'd like to adjust fork height of forklift, I write both two ways.&lt;/P&gt;
 &lt;P&gt;setvarnum(Model.find("AGV02"), "forkinitialheight", 0.45);&lt;/P&gt;
 &lt;P&gt;getvarnode(Model.find("AGV02"), "forkinitialheight").value = 0.45;&lt;/P&gt;
 &lt;P&gt;May I ask why the fork only lift down for a short moment, after that it turns out to be it's original height? How could I change it's defaulted variable? Thank you!&lt;/P&gt;
 &lt;P&gt;&lt;SPAN class="fr-video fr-dvb fr-draggable"&gt;
   &lt;VIDEO controls="" src="https://forums.autodesk.com/storage/attachments/46258-1.mp4"&gt;
    Your browser does not support HTML5 video.
   &lt;/VIDEO&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Nov 2021 10:05:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setvariable-of-forklift-forkinitialheight/m-p/13512672#M25400</guid>
      <dc:creator>shanice_c</dc:creator>
      <dc:date>2021-11-25T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setvariable of forklift forkinitialheight</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/setvariable-of-forklift-forkinitialheight/m-p/13512673#M25401</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Overall there are four variables controlling the fork of a transporter.&lt;/P&gt;&lt;P&gt;"forkinitialheight" determines at which height the motion starts.&lt;/P&gt;&lt;P&gt;"forkdestheight" determines at which height the motion ends.&lt;/P&gt;&lt;P&gt;"forkspeed" controls the speed (in m/s).&lt;/P&gt;&lt;P&gt;"forkbegintime" determines at what simulation the movement will start/has started. If the time is in the past longer ago than the time the movement would take, the fork will move to the "destheight" instantly.&lt;/P&gt;&lt;P&gt;In your case, the "destheight" is likely still set to the default value, so the fork immediately moves back to that position.&lt;/P&gt;&lt;P&gt;To start a normal motion you would set the initial height to the current height, the dest height to the wanted value and the begin time to the current model time.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Nov 2021 13:27:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/setvariable-of-forklift-forkinitialheight/m-p/13512673#M25401</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-11-25T13:27:22Z</dc:date>
    </item>
  </channel>
</rss>

