<?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: Module SDK creating a custom Task Sequence in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483356#M2436</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;hmm we tried that and got this, then proceeded to use it against the instance which created no error. Also don't understand why.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1663332966917.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512913iE753DB4CC0788FDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1663332966917.png" alt="1663332966917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:56:42 GMT</pubDate>
    <dc:creator>patricia_brenny_r</dc:creator>
    <dc:date>2022-09-16T12:56:42Z</dc:date>
    <item>
      <title>Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483352#M2432</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello there,&lt;/P&gt;
 &lt;P&gt;I'm developing a behavior for a custom machine and I need it to create a Task Sequence which an opreator will interact with a flowitem being processed (Take it for a trip, delay and return it).&lt;/P&gt;
 &lt;P&gt;I started running into problems while using the Task Sequence &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;class &lt;/SPAN&gt; (as recommended by the documentation) to generate and dispatch these tasks via DLL, getting the following excpetions:&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1663278663847.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512920iE82A1A4DE6F084D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="1663278663847.png" alt="1663278663847.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1663278677851.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512921i27734F8DFD244135/image-size/large?v=v2&amp;amp;px=999" role="button" title="1663278677851.png" alt="1663278677851.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;I've also tried using the deprecated methods, with no results. &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;What may be causing this behavior? How do I sucessfully create and dispatch Tasks Sequences using the DLL?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Sep 2022 21:56:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483352#M2432</guid>
      <dc:creator>patricia_brenny_r</dc:creator>
      <dc:date>2022-09-15T21:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483353#M2433</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/38529/patricia-brennyr.html" nodeid="38529"&gt;@Patricia_brenny R&lt;/A&gt; Have you used the C++ debugger to check all the variables and what their value is? I don't see anything really strange. Except maybe that I think that holder is the current machine so I think you can write: treenode currentMachine = holder; (which would make it shorter and faster)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:07:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483353#M2433</guid>
      <dc:creator>SCHamoen</dc:creator>
      <dc:date>2022-09-16T11:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483354#M2434</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Yes, I've used it and it has stored all the values that were supposed to be stored, just this "access denied" message when using the add task method for no apparent reason. We implemented the currentMachine like that as to odd out any other issues but it doesn't seem to be the problem.
&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:47:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483354#M2434</guid>
      <dc:creator>patricia_brenny_r</dc:creator>
      <dc:date>2022-09-16T12:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483355#M2435</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The create() method is static so I think you need to use is against the class and not the instance.&lt;/P&gt;&lt;PRE&gt;TaskSequence inspection=TaskSequence::create(operador,1,0,1);&lt;/PRE&gt;&lt;P&gt;in FlexScript it's:&lt;/P&gt;&lt;PRE&gt;TaskSequence inspection=TaskSequence.create(operador,1,0,1);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:50:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483355#M2435</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-09-16T12:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483356#M2436</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;hmm we tried that and got this, then proceeded to use it against the instance which created no error. Also don't understand why.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1663332966917.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512913iE753DB4CC0788FDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1663332966917.png" alt="1663332966917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:56:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483356#M2436</guid>
      <dc:creator>patricia_brenny_r</dc:creator>
      <dc:date>2022-09-16T12:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483357#M2437</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Yes I wrote the FlexScript initially, but try using the scope resolution operator  '::' to access the static method.&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:02:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483357#M2437</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-09-16T13:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483358#M2438</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I could resolve it by using the deprecated methods as follow: &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1663340352999.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1512914i129B7A04B2182CF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1663340352999.png" alt="1663340352999.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:01:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483358#M2438</guid>
      <dc:creator>patricia_brenny_r</dc:creator>
      <dc:date>2022-09-16T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Module SDK creating a custom Task Sequence</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483359#M2439</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/38529/patricia-brennyr.html" nodeid="38529"&gt;@Patricia_brenny R&lt;/A&gt;, was one of Patricia_brenny R's or Jason Lightfoot's or Steven Hamoen's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Sep 2022 20:34:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/module-sdk-creating-a-custom-task-sequence/m-p/13483359#M2439</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2022-09-19T20:34:40Z</dc:date>
    </item>
  </channel>
</rss>

