<?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: What is the recommend way to change the default conveyor speed? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480937#M585</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Seems this is a bug in the ModelParameter setting that I used to check - if you open the popup option having selected Speed, it will then populate the code with "Speed" instead of "ConveyorSpeed"&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 26 Jan 2021 16:54:21 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2021-01-26T16:54:21Z</dc:date>
    <item>
      <title>What is the recommend way to change the default conveyor speed?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480932#M580</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the recommend way of changing the default conveyor speed in FlexSim 2021?  In 2020 we used the OnModelReset trigger to change the speed of a conveyor OnReset by setting the speed property in the conveyor type. Something like this:&lt;/P&gt;&lt;PRE&gt;Model.find("ConveyorSystem&amp;gt;variables/conveyorTypes/ConveyorTypeWassen/speed").value = &amp;nbsp;newSpeed;&lt;/PRE&gt;&lt;P&gt;What is the best option to do this now? I understand that we need a for loop to loop over all the conveyors of that type (since they are now in a group and don’t have a conveyor type property anymore). I thought of doing something like this:&lt;/P&gt;&lt;PRE&gt;double newSpeed= someValue;
Group conveyorWassenGroup = Group( "ConveyorTypeWassen" );
for( int i = 1; i &amp;lt;= conveyorWassenGroup.length; i++ )
{
&amp;nbsp; &amp;nbsp;&amp;nbsp;Conveyor conveyor = conveyorWassenGroup[ i ];
&amp;nbsp; &amp;nbsp;&amp;nbsp;conveyor.default= newSpeed; //Not working, throws error, can't set this property
    conveyor.targetSpeed = newSpeed; //Not working
}&lt;/PRE&gt;&lt;P&gt;But that is not allowed, since we can’t set the defaultSpeed. Do we still need to go in the tree and change the speed variable or is there an option that I am missing here?&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jan 2021 14:33:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480932#M580</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2021-01-26T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is the recommend way to change the default conveyor speed?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480933#M581</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Should be conveyor.setProperty("Speed",newspeed)  but will investigate further.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jan 2021 16:18:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480933#M581</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2021-01-26T16:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the recommend way to change the default conveyor speed?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480934#M582</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;PRE&gt;conveyor.setProperty("ConveyorSpeed", newspeed)&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jan 2021 16:27:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480934#M582</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-01-26T16:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: What is the recommend way to change the default conveyor speed?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480935#M583</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/87/matthew.g.html" nodeid="87"&gt;@Matthew Gillespie&lt;/A&gt;,&lt;BR /&gt;Thank you for your answer. How do you know you need to use ConveyorSpeed and not Speed like Jason does? Is this because this object in from the Conveyor module?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jan 2021 16:32:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480935#M583</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2021-01-26T16:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: What is the recommend way to change the default conveyor speed?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480936#M584</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/751/patrick.z.html" nodeid="751"&gt;@Patrick Zweekhorst&lt;/A&gt; You can see the actual name in the SQL dropdown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36296-1611679574360.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504853i88CC3CE4649C8083/image-size/large?v=v2&amp;amp;px=999" role="button" title="36296-1611679574360.png" alt="36296-1611679574360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's not ideal right now, but the ConveyorSpeed property is named differently than the task executer's Speed property to avoid a name collision. We're hoping to update the setProperty method to also accept the alias (Speed in this case) of the property. We're also working on providing a documented list of properties by object.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jan 2021 16:49:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480936#M584</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2021-01-26T16:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is the recommend way to change the default conveyor speed?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480937#M585</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Seems this is a bug in the ModelParameter setting that I used to check - if you open the popup option having selected Speed, it will then populate the code with "Speed" instead of "ConveyorSpeed"&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jan 2021 16:54:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/what-is-the-recommend-way-to-change-the-default-conveyor-speed/m-p/13480937#M585</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2021-01-26T16:54:21Z</dc:date>
    </item>
  </channel>
</rss>

