<?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: AGV Control Area Pass-Through in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/agv-control-area-pass-through/m-p/13907429#M99022</link>
    <description>&lt;P&gt;You can override the return value of the OnRequest event to allow or block requests regardless of current allocations and allocation limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1763364997111.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1596526iF3908113C31ED749/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1763364997111.png" alt="moehlmann_fe_0-1763364997111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can write code in the "Return Value" field to make this depend on the destination. I would store the relevant control points in an array label on the areas and compare the final destination of the AGV to those. See mockup code below.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Array aisleCPs = token.ControlArea.AisleCPs;
if(aisleCPs.indexOf(AGV(token.AGV).finalDestinationCP) &amp;gt; 0)
{
   // Case when destination in aisle
}
else
{
   // Destination not in aisle
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 07:40:15 GMT</pubDate>
    <dc:creator>FelixMoehlmann</dc:creator>
    <dc:date>2025-11-17T07:40:15Z</dc:date>
    <item>
      <title>AGV Control Area Pass-Through</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-control-area-pass-through/m-p/13906478#M99013</link>
      <description>&lt;P&gt;I am routing agv shuttles through a shipping area and have had issues keeping them from gridlock.&amp;nbsp; To remedy this, I have put a series of control areas along a one-way path with the control areas enclosing elevator exit control points and drop-off control points to the sides of the main aisleway.&amp;nbsp; I would like to see if there is a way to allow an agv to pass through the area if their final destination is not one of the control points to the sides of the main aisleway.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2025 23:27:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-control-area-pass-through/m-p/13906478#M99013</guid>
      <dc:creator>wproctorPG49C</dc:creator>
      <dc:date>2025-11-15T23:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: AGV Control Area Pass-Through</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/agv-control-area-pass-through/m-p/13907429#M99022</link>
      <description>&lt;P&gt;You can override the return value of the OnRequest event to allow or block requests regardless of current allocations and allocation limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1763364997111.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1596526iF3908113C31ED749/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1763364997111.png" alt="moehlmann_fe_0-1763364997111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can write code in the "Return Value" field to make this depend on the destination. I would store the relevant control points in an array label on the areas and compare the final destination of the AGV to those. See mockup code below.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Array aisleCPs = token.ControlArea.AisleCPs;
if(aisleCPs.indexOf(AGV(token.AGV).finalDestinationCP) &amp;gt; 0)
{
   // Case when destination in aisle
}
else
{
   // Destination not in aisle
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 07:40:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/agv-control-area-pass-through/m-p/13907429#M99022</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2025-11-17T07:40:15Z</dc:date>
    </item>
  </channel>
</rss>

