<?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: v24 enter area in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591569#M87354</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;No, the pickoption was removed. Using the new version with a control area or copying the code are the two options you have. Though once you do copy the code, since it contains the necessary markup, you can edit the function parameters in the trigger GUI as if you had added the option there.&lt;/DIV&gt;</description>
    <pubDate>Fri, 31 May 2024 13:47:56 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2024-05-31T13:47:56Z</dc:date>
    <item>
      <title>v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591565#M87350</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted" style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;SPAN style="-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; margin: 0px; padding: 0px; color: rgb(0, 0, 0);"&gt;If you upgrade from version 23 to version 24,&lt;/SPAN&gt;&lt;BR style="color: rgb(0, 0, 0); font-family: noto, notojp, notokr, Helvetica, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Apple SD Gothic Neo&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;맑은 고딕&amp;quot;, Dotum, 돋움, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(253, 253, 253); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" /&gt;&lt;SPAN style="-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; margin: 0px; padding: 0px; color: rgb(0, 0, 0);"&gt;You'll see that the require area function in the area restriction category has been replaced by the allocate control area.&lt;/SPAN&gt;&lt;BR style="color: rgb(0, 0, 0); font-family: noto, notojp, notokr, Helvetica, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Apple SD Gothic Neo&amp;quot;, &amp;quot;Malgun Gothic&amp;quot;, &amp;quot;맑은 고딕&amp;quot;, Dotum, 돋움, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(253, 253, 253); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" /&gt;&lt;SPAN style="-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; margin: 0px; padding: 0px; color: rgb(0, 0, 0);"&gt;I need an Enter area function, where has this function been moved?&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="acquire.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524118i80B144E771509143/image-size/large?v=v2&amp;amp;px=999" role="button" title="acquire.png" alt="acquire.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="allocate.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524117i9B5EC0285CDB2E76/image-size/large?v=v2&amp;amp;px=999" role="button" title="allocate.png" alt="allocate.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 May 2024 15:02:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591565#M87350</guid>
      <dc:creator>kimsh</dc:creator>
      <dc:date>2024-05-30T15:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591566#M87351</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;"Enter Area" has been superceded by the new "Allocate Control Area" that utilizes the Control Area object from the AGV/A* category to act as the 'owner' of the area. It thusly allows you to have an interaction between task executers travelling in those networks and items on a conveyor.&lt;/P&gt;&lt;P&gt;If you want to use the old option (I can understand, not needing an extra object is 'neater') you will have to copy the code from an earlier version of FlexSim. I have attached the pickoption code below.&lt;/P&gt;&lt;PRE&gt;{ //************* PickOption Start *************\\&lt;BR /&gt;/***popup:Conveyor_EnterArea*/
/**Enter Restricted Area*/

if (/** \nCondition: *//***tag:condition*//**/true/**/) {
&amp;nbsp; &amp;nbsp; treenode owner = /** \nArea Owner: *//***tag:areaOwner*//**/current.outObjects[1]/**/;
&amp;nbsp; &amp;nbsp; int maxContent = /** \nMax Content: *//***tag:maxContent*//**/1/**/;
&amp;nbsp; &amp;nbsp; // I store area restriction information on the owner's "dp_RestrictedContentArea" label
&amp;nbsp; &amp;nbsp; treenode mutexLabel = owner.labels.assert("dp_RestrictedContentArea", 0);
&amp;nbsp; &amp;nbsp; // if the number of entries is less than the max content...
&amp;nbsp; &amp;nbsp; if (mutexLabel.value &amp;lt; maxContent) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // increment the number of entries and let the item continue
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mutexLabel.value += 1;
&amp;nbsp; &amp;nbsp; } else {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // if the number of entries is at its max, stop the item...
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conveyorItem.stop();
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // and add a request to the area
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mutexLabel.subnodes.add().value = item;
&amp;nbsp; &amp;nbsp; }
}
} //******* PickOption End *******\\


{ //************* PickOption Start *************\\
/***popup:Conveyor_ExitArea*/
/**Exit Restricted Area*/

if (/** \nCondition: *//***tag:condition*//**/true/**/) {

&amp;nbsp; &amp;nbsp; treenode owner = /** \nArea Owner: *//***tag:areaOwner*//**/current/**/;
&amp;nbsp; &amp;nbsp; double delayTime = /** \nDelay Time: *//***tag:delayTime*//**/0/**/;
&amp;nbsp; &amp;nbsp; if (delayTime &amp;gt; 0 &amp;amp;&amp;amp; !param(6)) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delayednodefunction(c, delayTime, param(1), param(2), param(3), 0, 0, 1);
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0;
&amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; // I store area restriction information on the owner's "dp_RestrictedContentArea" label
&amp;nbsp; &amp;nbsp; treenode mutexLabel = owner.labels.assert("dp_RestrictedContentArea", 0);
&amp;nbsp; &amp;nbsp; // decrement the number of items in the area
&amp;nbsp; &amp;nbsp; mutexLabel.value = maxof(0, mutexLabel.value - 1);
&amp;nbsp; &amp;nbsp; // if there a requests to enter the area, then let an item in
&amp;nbsp; &amp;nbsp; if (mutexLabel.subnodes.length &amp;gt; 0) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; treenode bestCoupling = mutexLabel.first;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // If I sort by a priority...
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int usePriority = /** \nUse Priority: *//***tag:usePriority*//**/0/**/;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (usePriority) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double bestPriority = -100000000;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // then search through the request queue and find the request with the highest priority
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 1; i &amp;lt;= mutexLabel.subnodes.length; i++) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object item = mutexLabel.subnodes[i]&lt;I&gt;.value;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double priority = /** \nPriority: *//***tag:priority*//**/item.priority/**/;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (priority &amp;gt; bestPriority) {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bestCoupling = mutexLabel.subnodes[i]&lt;I&gt;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bestPriority = priority;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // get the requesting item
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object item = bestCoupling.value;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Conveyor.Item conveyorItem = item.up.as(Conveyor).itemData[item];
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // remove the request
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bestCoupling.destroy();
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // increment the number in the area
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mutexLabel.value += 1;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // resume the item
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conveyorItem.resume();
&amp;nbsp; &amp;nbsp; }
}
} //******* PickOption End *******\\&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Aug 2025 06:57:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591566#M87351</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-08-04T06:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591567#M87352</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(0, 0, 0); font-family: noto, notojp, notokr, Helvetica, "&gt;Can't I do it with function selection without a code?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 May 2024 12:46:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591567#M87352</guid>
      <dc:creator>kimsh</dc:creator>
      <dc:date>2024-05-31T12:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591568#M87353</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(0, 0, 0); font-family: noto, notojp, notokr, Helvetica, "&gt;Can't I do it with function selection without a code?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 May 2024 12:47:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591568#M87353</guid>
      <dc:creator>kimsh</dc:creator>
      <dc:date>2024-05-31T12:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591569#M87354</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;No, the pickoption was removed. Using the new version with a control area or copying the code are the two options you have. Though once you do copy the code, since it contains the necessary markup, you can edit the function parameters in the trigger GUI as if you had added the option there.&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 May 2024 13:47:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591569#M87354</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-05-31T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591570#M87355</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 what is the control area? how to use? you mean control area is acquire area? but how to chage count at acquire area?
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Jun 2024 04:34:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591570#M87355</guid>
      <dc:creator>kimsh</dc:creator>
      <dc:date>2024-06-03T04:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591571#M87356</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The control area object that was previously only used in AGV networks. It can now also be connected to an A* grid or allocated via code, which is what the new trigger option does.&lt;/P&gt;&lt;P&gt;You set the maximum number of allocations in the control area's properties.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/83361-control-area-conveyor.fsm" target="_blank"&gt;control-area-conveyor.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Jun 2024 06:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13591571#M87356</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-06-03T06:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13751431#M97458</link>
      <description>&lt;P&gt;After copying the code, where shall i paste the code to in order to acquire back the "Enter Area" option?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Aug 2025 08:00:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13751431#M97458</guid>
      <dc:creator>chyhshyang_ong</dc:creator>
      <dc:date>2025-08-03T08:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13751449#M97459</link>
      <description>&lt;P&gt;May I ask after copying the code, where shall i paste them in order to have the "Enter restricted area" option back&lt;/P&gt;</description>
      <pubDate>Sun, 03 Aug 2025 08:39:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13751449#M97459</guid>
      <dc:creator>chyhshyang_ong</dc:creator>
      <dc:date>2025-08-03T08:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: v24 enter area</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13752226#M97472</link>
      <description>&lt;P&gt;Copy the code into the trigger where you want to use the functionality.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1754290787043.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1558194i95C556F612AF29D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="moehlmann_fe_0-1754290787043.png" alt="moehlmann_fe_0-1754290787043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 07:00:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/v24-enter-area/m-p/13752226#M97472</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-08-04T07:00:03Z</dc:date>
    </item>
  </channel>
</rss>

