<?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: Get info about a Multilocation using getProperty? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14015807#M99991</link>
    <description>&lt;P&gt;Thanks Felix&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@FelixMoehlmann&lt;/a&gt;&amp;nbsp;. That is just what I needed.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Feb 2026 17:54:12 GMT</pubDate>
    <dc:creator>clairekruppGhafari</dc:creator>
    <dc:date>2026-02-12T17:54:12Z</dc:date>
    <item>
      <title>Get info about a Multilocation using getProperty?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14014110#M99962</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several Multilocations containing floor spots in a museum. I want to get the current number of people in the multilocation and also the maximum number of spots (in this case, the number of sublocations).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried various combinations of "multiLocation.getProperty(...) "and "stats.content.value", and they all give me a value of 0, even when that is not true. I tried "stats.totalContent.value" that was mentioned in another question, but that gives me a syntax error. I don't even see anything in the treenode of a multilocation that has this data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get these values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(version 25.2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 16:46:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14014110#M99962</guid>
      <dc:creator>clairekruppGhafari</dc:creator>
      <dc:date>2026-02-11T16:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get info about a Multilocation using getProperty?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14015002#M99980</link>
      <description>&lt;P&gt;"totalContent" is not implemented as a property of 'object.stats', but such a node exists for multilocation objects to track the total input, output and content. You can access them as a Tracked Variable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1770882853998.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1618306i85B2C89AA998B967/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1770882853998.png" alt="moehlmann_fe_0-1770882853998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Object ml = ...;
TrackedVariable totalContent = stats(ml).subnodes["contentTotal"];
int content = totalContent.value;&lt;/LI-CODE&gt;&lt;P&gt;The number of sublocations is the number of drawsurrogate objects.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Object ml = ...;
int numSubLocations = ml.attrs.drawsurrogate.subnodes.length;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 07:54:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14015002#M99980</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2026-02-12T07:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get info about a Multilocation using getProperty?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14015807#M99991</link>
      <description>&lt;P&gt;Thanks Felix&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@FelixMoehlmann&lt;/a&gt;&amp;nbsp;. That is just what I needed.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 17:54:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/get-info-about-a-multilocation-using-getproperty/m-p/14015807#M99991</guid>
      <dc:creator>clairekruppGhafari</dc:creator>
      <dc:date>2026-02-12T17:54:12Z</dc:date>
    </item>
  </channel>
</rss>

