<?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 Object.name = &amp;quot;new name&amp;quot; in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/object-name-quot-new-name-quot/m-p/13564710#M66514</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I'm trying to assign a new name to an Object.&lt;/P&gt;&lt;P&gt;I used this syntax but didn't work:&lt;/P&gt;&lt;PRE&gt;Object source = model().find("source");
source.name = "new name";
&lt;/PRE&gt;&lt;P&gt;So I did a cast to treenode:&lt;/P&gt;&lt;PRE&gt;Object source = model().find("source");
source.as(treenode).name = "new name";
&lt;/PRE&gt;&lt;P&gt;This works but I read in the manual that the Object should have all the functionality of a treenode.&lt;/P&gt;&lt;P&gt;Is it correct or is something missing? &lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2017 10:28:21 GMT</pubDate>
    <dc:creator>marco_baccalaro</dc:creator>
    <dc:date>2017-01-20T10:28:21Z</dc:date>
    <item>
      <title>Object.name = "new name"</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/object-name-quot-new-name-quot/m-p/13564710#M66514</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 17.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I'm trying to assign a new name to an Object.&lt;/P&gt;&lt;P&gt;I used this syntax but didn't work:&lt;/P&gt;&lt;PRE&gt;Object source = model().find("source");
source.name = "new name";
&lt;/PRE&gt;&lt;P&gt;So I did a cast to treenode:&lt;/P&gt;&lt;PRE&gt;Object source = model().find("source");
source.as(treenode).name = "new name";
&lt;/PRE&gt;&lt;P&gt;This works but I read in the manual that the Object should have all the functionality of a treenode.&lt;/P&gt;&lt;P&gt;Is it correct or is something missing? &lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 10:28:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/object-name-quot-new-name-quot/m-p/13564710#M66514</guid>
      <dc:creator>marco_baccalaro</dc:creator>
      <dc:date>2017-01-20T10:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Object.name = "new name"</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/object-name-quot-new-name-quot/m-p/13564711#M66515</link>
      <description>&lt;P&gt;Yes, this is a bug, but it is fixed in 17.0.1 which was released yesterday. You can download it and get the fix now.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:47:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/object-name-quot-new-name-quot/m-p/13564711#M66515</guid>
      <dc:creator>Matthew_Gillespie</dc:creator>
      <dc:date>2017-01-20T16:47:22Z</dc:date>
    </item>
  </channel>
</rss>

