<?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 Joined reporting for features from different layers in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228120#M2994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering, what is the best way to join reports for several shape layers? In my project, I have existing buildings (white), which are extruded from footprints shapes; new buildings (yellow), which are created from blocks of street network layer; and an underground parking (blue), which is extruded from a shape in another layer. How can I can report their attributes together - shall I create a forth layer to which I pass on the attributes of these three layers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My general goal is to implement an interactive editing of new building volumes through the editing of street network. As a part of that, I would like to have the floor areas of existing buildings, new buildings and garage to appear together in the report panel. So that they could be assessed together.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="picture for geonet.png" class="jive-image image-1" height="332" src="/legacyfs/online/13767_picture for geonet.png" style="height: 332px; width: 370.822580645161px;" width="371" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 15:59:47 GMT</pubDate>
    <dc:creator>PetrBocharnikov</dc:creator>
    <dc:date>2014-09-19T15:59:47Z</dc:date>
    <item>
      <title>Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228120#M2994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering, what is the best way to join reports for several shape layers? In my project, I have existing buildings (white), which are extruded from footprints shapes; new buildings (yellow), which are created from blocks of street network layer; and an underground parking (blue), which is extruded from a shape in another layer. How can I can report their attributes together - shall I create a forth layer to which I pass on the attributes of these three layers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My general goal is to implement an interactive editing of new building volumes through the editing of street network. As a part of that, I would like to have the floor areas of existing buildings, new buildings and garage to appear together in the report panel. So that they could be assessed together.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="picture for geonet.png" class="jive-image image-1" height="332" src="/legacyfs/online/13767_picture for geonet.png" style="height: 332px; width: 370.822580645161px;" width="371" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 15:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228120#M2994</guid>
      <dc:creator>PetrBocharnikov</dc:creator>
      <dc:date>2014-09-19T15:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228121#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All you need to do is name the reports with the same name, and those reports will be summed for all selected items...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the rules for the yellow, white, and blue shapes, you might have a reporting rule for each building. Sample CGA code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourBuilding --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Some code here resulting in a building and the values below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReportMetrics("GFA", 16000, "East123","Tower01")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReportMetrics("UnitCount", 20, "East123","Tower01")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReportMetrics(key, value, siteID, buildingID) --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; report("Total_" + key, value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; report("Site_" + siteID + "_" + key, value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; report("Building_" + buildingID + "_" + key, value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Reports view would have GFA and UnitCount entries, summed for the Total, for each Site, and for each Building.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total_GFA&amp;nbsp;&amp;nbsp;&amp;nbsp; 1200000&lt;/P&gt;&lt;P&gt;Total_UnitCount&amp;nbsp;&amp;nbsp;&amp;nbsp; 400&lt;/P&gt;&lt;P&gt;Site_East123_GFA&amp;nbsp;&amp;nbsp; 22000&lt;/P&gt;&lt;P&gt;Site_East123_UnitCount 210&lt;/P&gt;&lt;P&gt;Building_Tower01_ GFA&amp;nbsp; 16000&lt;/P&gt;&lt;P&gt;Building_Tower02_ GFA&amp;nbsp; 17000&lt;/P&gt;&lt;P&gt;Building_Tower03_ GFA&amp;nbsp; 16000&lt;/P&gt;&lt;P&gt;Building_Tower04_ GFA&amp;nbsp; 18000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this explanation is clear. Yes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 16:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228121#M2995</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-09-19T16:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228122#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks neat and easy. I will get a chance to run it on CE after the weekend. I will get back to you on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 17:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228122#M2996</guid>
      <dc:creator>PetrBocharnikov</dc:creator>
      <dc:date>2014-09-19T17:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228123#M2997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is kind of the reverse of having buildings sample a larger polygon. Since you can't sample from the large polygon and find each building upon it, this is another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The prefixes are what makes everything group together:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site_siteName_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Building_buildingName_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 17:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228123#M2997</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-09-19T17:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228124#M2998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well explained .. you like that one, huh ? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;Matthias Buehler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN lang="EN-US"&gt;Head of 3D Technologies&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #999999; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US"&gt;twitter: @MattB3D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;--------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US"&gt;Garsdale Design Limited &lt;/SPAN&gt;&lt;BR /&gt; &lt;A href="mailto:elliot.hartley@garsdaledesign.co.uk" target="_blank"&gt;matthias.buehler@garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.garsdaledesign.co.uk/" target="_blank"&gt;www.garsdaledesign.co.uk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 10:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228124#M2998</guid>
      <dc:creator>MatthiasBuehler</dc:creator>
      <dc:date>2014-09-20T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228125#M2999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably taught it to me.  &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 14:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228125#M2999</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-09-20T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228126#M3000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This summation of totals during reporting is very handy indeed.&amp;nbsp; Thanks a lot for the tip!&lt;/P&gt;&lt;P&gt;Is there a way to set an attribute to one of these totals tho ?&amp;nbsp; Nothing I've tried seems to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 13:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228126#M3000</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2015-02-26T13:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228127#M3001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is possible. You have to use the Python scripted reports for that. In that case you get the reports from each model and then change the object attributes of the models, and connect your rule attributes to the object attributes. From Python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 17:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228127#M3001</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-02-27T17:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228128#M3002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found bits and pieces on this in the manual and in the tutorials, just trying to wrap my head around how to actually do this.&amp;nbsp; Wish there were a few more Python examples floating around.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your above example, is there a way to accomplish something like this ... as in set a float value to one of these summed up reports ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;report("Total_" + key, value)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;set (T_Total,(&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;+ key, value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 03:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228128#M3002</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2015-03-03T03:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228129#M3003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an example somewhere, but everything is in disarray on my machine. I've made myself a note to find it. If I don't reply within the next week, then leave a comment here again to prompt me.&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 17:09:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228129#M3003</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-03-03T17:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228130#M3004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would be great &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; thanks a lot Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 22:47:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228130#M3004</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2015-03-03T22:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228131#M3005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/35348"&gt;Chris Wilkins&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good six months later, I have implemented your suggestion. It works nicely! Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to develop this a little further, while keeping the aggregation into &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;"Total_"&lt;/SPAN&gt; and &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;"Site_"&lt;/SPAN&gt;. Summing up the totals works well for GFA, but I don't think it works for FAR. I wouldn't want the sum of FAR values or the average of them. Instead, I want to take the sum of GFA and divide it by the sum of site areas. Any thoughts on how I can implement that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can make &lt;A href="https://community.esri.com/migrated-users/37404"&gt;Alan Klys&lt;/A&gt;​'s suggestion to &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;set a float value&lt;/SPAN&gt; to work that could be a solution. I could set values for &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Total_GFA, &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Site_GFA, &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Total_&lt;/SPAN&gt;PlotArea, &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Site&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;PlotArea&lt;/SPAN&gt;, and then report &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Total_&lt;/SPAN&gt;FAR as &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Total_GFA/&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Total_&lt;/SPAN&gt;PlotArea and Site_FAR as &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Site_GFA/&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Site&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;PlotArea.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228131#M3005</guid>
      <dc:creator>PetrBocharnikov</dc:creator>
      <dc:date>2015-03-31T12:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228132#M3006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If my suggestion worked... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;report("Total_" + key, value)&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;set (T_Total,(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;+ key, value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P&gt;...then I guess you could accomplish what you want Petr, but alas I don't think it's possible. Seems like Python is the way to go in this case ... and a timely way to bump this for Chris &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 07:07:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228132#M3006</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2015-04-02T07:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228133#M3007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the bump. I'm currently in the middle of a major cleanup/organization of ALL of the rules and scripts I've written for CityEngine. This will be going on for the next few weeks. Since you bumped me, I'm now putting a yellow sticky note on the wall in from of me. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; In the meantime you could try the Python documentation in the CityEngine manual... wink!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="reminder.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/81304_reminder.jpg" style="width: 620px; height: 302px;" /&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:16:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228133#M3007</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-04-02T14:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228134#M3008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchos gracias amigo &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&amp;nbsp; I wonder what gems you'll find ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 23:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228134#M3008</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2015-04-02T23:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228135#M3009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's one - Pergola.cga - it makes a pergola. If you make it small, it could be an arbor. Columns are not included. Someone should add columns to the rule. There are three layers of wood/material. I think I've just colored it. I'd make the columns be attached to the largest members on the bottom.&amp;nbsp; -Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pergola.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/82556_Pergola.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 16:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228135#M3009</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-04-06T16:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228136#M3010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petr and Alan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got some scripts gathered now. Let me get this right before I start. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petr said, "&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I want to take the sum of GFA and divide it by the sum of site areas. Any thoughts on how I can implement that?"&amp;nbsp; So for each site, you have a site area (like a parcel or lot), and there is a building on the site that has a GFA. To keep it easy, we'll suppose the building is generated on the parcel shape from a rule applied to the parcel. For each site and building we report:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;report("SiteArea", siteArea)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;report("GFA", gfa)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Then you wanted to add those two totals for every parcel/building that is reporting these, and then set an object attribute on those shapes, so that the rules have access to the average FAR of all of them?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is that right? If so, I'll try and set up an example of this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228136#M3010</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-04-16T18:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228137#M3011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for coming back on this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, your premise about a building on a site is correct. With your initial answer, I am able to report something like this:&lt;/P&gt;&lt;P&gt;Total_GFA&amp;nbsp;&amp;nbsp;&amp;nbsp; xxx&lt;/P&gt;&lt;P&gt;Total_&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SiteArea&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxx&lt;/P&gt;&lt;P&gt;Site_East123_GFA&amp;nbsp;&amp;nbsp; xxx&lt;/P&gt;&lt;P&gt;Site_East123_&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SiteArea&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;xxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I think, FAR requires a little different treatment: summarising FAR values for all parcels doesn't make sense. Instead, I need to take at the very end Total_GFA and divide it by Total_&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SiteArea, and the same for Site_East123_GFA and Site_East123_&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SiteArea.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Do you follow?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 19:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228137#M3011</guid>
      <dc:creator>PetrBocharnikov</dc:creator>
      <dc:date>2015-04-16T19:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228138#M3012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan, Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As promised, here is a script that finds the average FAR. You must select all objects for the calculation, since this uses the "python-based export" feature in CityEngine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find attached zipped CityEngine project. It is set up so you can just select all items and then run the script. The math can be double checked by manually calculating the average FAR using the reported values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, there are a million print() statements from where I was debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it out and let me know if you have questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 21:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228138#M3012</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-04-16T21:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Joined reporting for features from different layers</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228139#M3013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a whole bunch Chris &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; Having a peek at this now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 23:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/joined-reporting-for-features-from-different/m-p/228139#M3013</guid>
      <dc:creator>AlanKlys</dc:creator>
      <dc:date>2015-04-16T23:45:06Z</dc:date>
    </item>
  </channel>
</rss>

