<?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 Shapes disappear on reset model in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529168#M38297</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 16.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/2816-hc-try-1.fsm"&gt;hc-try-1.fsm&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I am building a model regarding a health care facility within Flex sim 16.2.0. The model is mostly controlled through process flow. I have built a patient arriving, going to reception and waiting for a doctor in the waiting room. I now wish to simulate a customer going for an x ray by acquiring the X ray technician to "load" a shape (that represents a wheelchair) and a patient from the doctor's office. The shape and the patient is then taken to the X ray queue where a delay time represents the time it takes to complete the x ray. Thereafter the X ray technician loads the shape and the patient once again, takes the patient to the exit and returns the wheelchair to the wheelchairs queue. During the first run everything works fine. When I reset and run a second time, the shapes (representative of wheelchairs) disappear (from the 3 D model and from the group).&lt;/P&gt; 
&lt;P&gt;I have looked at the answer for the question "Why are 3 D shapes disappearing?" on &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/25013/why-are-3" target="_blank"&gt;https://answers.flexsim.com/questions/25013/why-are-3&lt;/A&gt; d-shapes-disappearing.html , this seems to work up until a certain stage. If I stop the model while the X ray technician returns the wheelchair (shape) to the wheelchairs queue and reset, one of the wheelchairs disappear and eventually the other one disappears as well.&lt;/P&gt; 
&lt;P&gt;I have attached the model where I attempted to resolve the problem by using the suggested move and change visual activities as explained in "Why are 3 D shapes disappearing?" on &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/25013/why-are-3d-shapes-disappearing.html" target="_blank"&gt;https://answers.flexsim.com/questions/25013/why-are-3d-shapes-disappearing.html&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Please advise&lt;/P&gt; 
&lt;P&gt;Stephanie Lombard&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2016 10:03:41 GMT</pubDate>
    <dc:creator>stephanie_lombard</dc:creator>
    <dc:date>2016-10-04T10:03:41Z</dc:date>
    <item>
      <title>Shapes disappear on reset model</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529168#M38297</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 16.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/storage/attachments/2816-hc-try-1.fsm"&gt;hc-try-1.fsm&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I am building a model regarding a health care facility within Flex sim 16.2.0. The model is mostly controlled through process flow. I have built a patient arriving, going to reception and waiting for a doctor in the waiting room. I now wish to simulate a customer going for an x ray by acquiring the X ray technician to "load" a shape (that represents a wheelchair) and a patient from the doctor's office. The shape and the patient is then taken to the X ray queue where a delay time represents the time it takes to complete the x ray. Thereafter the X ray technician loads the shape and the patient once again, takes the patient to the exit and returns the wheelchair to the wheelchairs queue. During the first run everything works fine. When I reset and run a second time, the shapes (representative of wheelchairs) disappear (from the 3 D model and from the group).&lt;/P&gt; 
&lt;P&gt;I have looked at the answer for the question "Why are 3 D shapes disappearing?" on &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/25013/why-are-3" target="_blank"&gt;https://answers.flexsim.com/questions/25013/why-are-3&lt;/A&gt; d-shapes-disappearing.html , this seems to work up until a certain stage. If I stop the model while the X ray technician returns the wheelchair (shape) to the wheelchairs queue and reset, one of the wheelchairs disappear and eventually the other one disappears as well.&lt;/P&gt; 
&lt;P&gt;I have attached the model where I attempted to resolve the problem by using the suggested move and change visual activities as explained in "Why are 3 D shapes disappearing?" on &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/questions/25013/why-are-3d-shapes-disappearing.html" target="_blank"&gt;https://answers.flexsim.com/questions/25013/why-are-3d-shapes-disappearing.html&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Please advise&lt;/P&gt; 
&lt;P&gt;Stephanie Lombard&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 10:03:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529168#M38297</guid>
      <dc:creator>stephanie_lombard</dc:creator>
      <dc:date>2016-10-04T10:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shapes disappear on reset model</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529169#M38298</link>
      <description>&lt;P&gt;Maybe it is not the shape that disappear. It is the item with the shape that is deleted. If the item or object isn't inside a container object that destroys regularly items on reset, maybe you can switch off the destroy flag of the object/item. &lt;/P&gt;&lt;PRE&gt;switch_destroyonreset(obj,0); // obj = pointer to the object or item 
&lt;/PRE&gt;&lt;P&gt;Hint of classic Flexsim  &lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 10:36:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529169#M38298</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2016-10-04T10:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shapes disappear on reset model</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529170#M38299</link>
      <description>&lt;P&gt;Thank you Jorg, that makes sense.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 11:32:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529170#M38299</guid>
      <dc:creator>stephanie_lombard</dc:creator>
      <dc:date>2016-10-04T11:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Shapes disappear on reset model</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529171#M38300</link>
      <description>&lt;P&gt;Task Executers, including Operators, destroy any flow items they're carrying on reset. They do this by looping through everything they're carrying and destroying any objects that have an itemtype node. Your shapes aren't flowitems so they shouldn't be destroyed, but if you look at them in the tree they both have an itemtype node.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2826-itemtype.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1494246i6314509DADCDF73A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2826-itemtype.png" alt="2826-itemtype.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This itemtype node is being added by the XRay queue when you unload the wheelchair into the Queue. The queue thinks you put a flowitem into it and makes sure it has an itemtype node so it can store information under it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2827-unload.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1494248iB2EEAE0A83FE15C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2827-unload.png" alt="2827-unload.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So to fix your problem, I would delete the itemtype node on your shapes and then change your process flow by replacing the Unload Wheelchair activity with a Move Object activity where you move the wheelchair into the model and not the Queue. You'll probably have to add an activity to reposition the wheelchair so it's next to the queue.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 16:46:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/shapes-disappear-on-reset-model/m-p/13529171#M38300</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2016-10-04T16:46:30Z</dc:date>
    </item>
  </channel>
</rss>

