<?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 Re: help with custom code in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566882#M68220</link>
    <description>&lt;A rel="user" href="https://answers.flexsim.com/users/11192/ernesto-danielag2.html" nodeid="11192"&gt;@ernesto daniel AG2&lt;/A&gt;&lt;P&gt;You need to put another Delay block with a very small time value (0.01) just before your Custom Code block.  This allows all previous code to be completed before changing the state. See &lt;A href="https://answers.flexsim.com/questions/58790/help-with-custom-code-in-pf.html"&gt;this post&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Nov 2018 19:10:03 GMT</pubDate>
    <dc:creator>jeff_nordgren</dc:creator>
    <dc:date>2018-11-12T19:10:03Z</dc:date>
    <item>
      <title>help with custom code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566879#M68217</link>
      <description>&lt;P&gt;&lt;A id="15491" href="https://answers.flexsim.com/storage/attachments/15491-carrusel-pintura-2.fsm"&gt;carrusel-pintura-2.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hello everyone, I have a problem when I execute a "custom code", in the box " carga ensamble operador 12 patin 2", there are two custom codes in the sub flows, what I would like you to do is that when the custom codes are activated the operator 12, it will change its state from idle to utilize.&lt;/P&gt;
&lt;P&gt;thanks. &lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 02:52:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566879#M68217</guid>
      <dc:creator>ernesto_daniel_ag2</dc:creator>
      <dc:date>2018-11-08T02:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: help with custom code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566880#M68218</link>
      <description>&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;your code is working exactly as you tell it to do. &lt;/P&gt;&lt;P&gt;It is setting your operator12 to the state Utilize, but in the exact same moment you also tell the operator to load another item and this automatically sets the operator to another state!&lt;/P&gt;&lt;P&gt;So could you please explain a little more about what your process is like and what you are trying to do. I think you are going a wrong way, to get the right results actually!&lt;/P&gt;&lt;P&gt;For me it looks as if your operator12 has to load a hand full off parts. And afterwards it should unload this parts. And you now want to say, the whole "load" and "unload" process should be in shown in one state ("utilize")? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 07:08:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566880#M68218</guid>
      <dc:creator>sebastian_hemmannE3JAU</dc:creator>
      <dc:date>2018-11-08T07:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: help with custom code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566881#M68219</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/244/sebastian.h.html" nodeid="244"&gt;@sebastian.hemmann&lt;/A&gt;, thanks for your answer. &lt;/P&gt;
&lt;P&gt;And as you say in the last line, what I would like is that during the loading and unloading process, both in the forklift and in the queue, the operator's status is shown as "utilize"&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:53:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566881#M68219</guid>
      <dc:creator>ernesto_daniel_ag2</dc:creator>
      <dc:date>2018-11-08T16:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: help with custom code</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566882#M68220</link>
      <description>&lt;A rel="user" href="https://answers.flexsim.com/users/11192/ernesto-danielag2.html" nodeid="11192"&gt;@ernesto daniel AG2&lt;/A&gt;&lt;P&gt;You need to put another Delay block with a very small time value (0.01) just before your Custom Code block.  This allows all previous code to be completed before changing the state. See &lt;A href="https://answers.flexsim.com/questions/58790/help-with-custom-code-in-pf.html"&gt;this post&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 19:10:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/help-with-custom-code/m-p/13566882#M68220</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2018-11-12T19:10:03Z</dc:date>
    </item>
  </channel>
</rss>

