<?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: How to reference object as AGV? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-object-as-agv/m-p/13518352#M29795</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You need to use the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/23.0/Reference/CodingInFlexSim/FlexScriptAPIReference/AGV/AGV.html#Method-AGV" target="_blank"&gt;AGV() constructor&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;AGV agv1 = AGV(Model.find("TaskExecuter1")); &lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Dec 2022 16:03:11 GMT</pubDate>
    <dc:creator>Matthew_Gillespie</dc:creator>
    <dc:date>2022-12-06T16:03:11Z</dc:date>
    <item>
      <title>How to reference object as AGV?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-object-as-agv/m-p/13518351#M29794</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;I'd like to use some of the properties under the AGV class but don't know how to reference an object as an AGV. The objects I'm using are task executers attached to an AGV network.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Here my current code:&lt;/P&gt;
 &lt;P&gt;AGV agv1 = Model.find("TaskExecuter1");&lt;/P&gt;
 &lt;P&gt;This is the error I'm getting:&lt;/P&gt;
 &lt;P&gt;FlexScript exception: Invalid down cast. Object is not an instance of the target type.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:54:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-object-as-agv/m-p/13518351#M29794</guid>
      <dc:creator>hsamuels</dc:creator>
      <dc:date>2022-12-06T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference object as AGV?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-object-as-agv/m-p/13518352#M29795</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You need to use the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/23.0/Reference/CodingInFlexSim/FlexScriptAPIReference/AGV/AGV.html#Method-AGV" target="_blank"&gt;AGV() constructor&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;AGV agv1 = AGV(Model.find("TaskExecuter1")); &lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 16:03:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-object-as-agv/m-p/13518352#M29795</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2022-12-06T16:03:11Z</dc:date>
    </item>
  </channel>
</rss>

