<?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 Reporting GFA from Tutorial 11 to my 3D buildings in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/reporting-gfa-from-tutorial-11-to-my-3d-buildings/m-p/1128110#M10376</link>
    <description>&lt;P&gt;Hi everyone Im fairly new to City Engine and just understanding the basic CGA grammar. Im trying to calculate the GFA of 3D buildings (acquired from here&amp;nbsp;&lt;A href="https://www1.nyc.gov/site/doitt/initiatives/3d-building.page" target="_blank"&gt;https://www1.nyc.gov/site/doitt/initiatives/3d-building.page&lt;/A&gt;) using the Tutorial 11 Reporting but modifying it to my 3D buildings. This is what I have so far but not sure if its in the proper format. My question is how can I modify it so that it intakes already built 3D objects? Does this methodology account for setbacks in buildings? Any help would be appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* File: GFAestimator.cga&lt;BR /&gt;* Created: 14 Dec 2021 17:31:24 GMT&lt;BR /&gt;* Author: irepo&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;version "2021.1"&lt;BR /&gt;# ---------------------------------------&lt;BR /&gt;# Attributes&lt;BR /&gt;# ---------------------------------------&lt;/P&gt;&lt;P&gt;@Group("Viz",4)&lt;BR /&gt;@Enum("massOnly", "floors", "massAndFloors")&lt;BR /&gt;attr vizMode = "massAndFloors"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# ---------------------------------------&lt;BR /&gt;# Start with the lot&lt;BR /&gt;# ---------------------------------------&lt;/P&gt;&lt;P&gt;@Hidden&lt;BR /&gt;attr plotArea = 0 # used to calc FAR&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# -----------------------&lt;BR /&gt;# Mass / Floors&lt;BR /&gt;# -----------------------&lt;/P&gt;&lt;P&gt;Mass --&amp;gt;&lt;BR /&gt;MassViz&lt;BR /&gt;split(y){ floorHeight: Floor }*&lt;/P&gt;&lt;P&gt;Floor --&amp;gt; comp(f){ bottom: reverseNormals FloorBottom }&amp;nbsp;&lt;BR /&gt;FloorBottom --&amp;gt;&lt;BR /&gt;report("GFA",geometry.area)&lt;BR /&gt;report("FAR",geometry.area/plotArea)&lt;BR /&gt;color("#4444ff")&lt;BR /&gt;FloorViz&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# -----------------------&lt;BR /&gt;# Leaf Shapes&lt;BR /&gt;# -----------------------&lt;/P&gt;&lt;P&gt;MassViz --&amp;gt;&lt;BR /&gt;case vizMode == "massOnly" :&lt;BR /&gt;Mass.&lt;BR /&gt;case vizMode == "massAndFloors" :&lt;BR /&gt;set(material.opacity,0.2) Mass.&lt;BR /&gt;else:&lt;BR /&gt;NIL&lt;/P&gt;&lt;P&gt;FloorViz --&amp;gt;&lt;BR /&gt;case vizMode == "massOnly" :&lt;BR /&gt;NIL&lt;BR /&gt;else:&lt;BR /&gt;FloorViz.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;OpenSpace --&amp;gt; color("#777777")&lt;/P&gt;&lt;P&gt;Ground --&amp;gt; color("#777777")&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 18:37:39 GMT</pubDate>
    <dc:creator>IrenePosada</dc:creator>
    <dc:date>2021-12-21T18:37:39Z</dc:date>
    <item>
      <title>Reporting GFA from Tutorial 11 to my 3D buildings</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/reporting-gfa-from-tutorial-11-to-my-3d-buildings/m-p/1128110#M10376</link>
      <description>&lt;P&gt;Hi everyone Im fairly new to City Engine and just understanding the basic CGA grammar. Im trying to calculate the GFA of 3D buildings (acquired from here&amp;nbsp;&lt;A href="https://www1.nyc.gov/site/doitt/initiatives/3d-building.page" target="_blank"&gt;https://www1.nyc.gov/site/doitt/initiatives/3d-building.page&lt;/A&gt;) using the Tutorial 11 Reporting but modifying it to my 3D buildings. This is what I have so far but not sure if its in the proper format. My question is how can I modify it so that it intakes already built 3D objects? Does this methodology account for setbacks in buildings? Any help would be appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* File: GFAestimator.cga&lt;BR /&gt;* Created: 14 Dec 2021 17:31:24 GMT&lt;BR /&gt;* Author: irepo&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;version "2021.1"&lt;BR /&gt;# ---------------------------------------&lt;BR /&gt;# Attributes&lt;BR /&gt;# ---------------------------------------&lt;/P&gt;&lt;P&gt;@Group("Viz",4)&lt;BR /&gt;@Enum("massOnly", "floors", "massAndFloors")&lt;BR /&gt;attr vizMode = "massAndFloors"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# ---------------------------------------&lt;BR /&gt;# Start with the lot&lt;BR /&gt;# ---------------------------------------&lt;/P&gt;&lt;P&gt;@Hidden&lt;BR /&gt;attr plotArea = 0 # used to calc FAR&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# -----------------------&lt;BR /&gt;# Mass / Floors&lt;BR /&gt;# -----------------------&lt;/P&gt;&lt;P&gt;Mass --&amp;gt;&lt;BR /&gt;MassViz&lt;BR /&gt;split(y){ floorHeight: Floor }*&lt;/P&gt;&lt;P&gt;Floor --&amp;gt; comp(f){ bottom: reverseNormals FloorBottom }&amp;nbsp;&lt;BR /&gt;FloorBottom --&amp;gt;&lt;BR /&gt;report("GFA",geometry.area)&lt;BR /&gt;report("FAR",geometry.area/plotArea)&lt;BR /&gt;color("#4444ff")&lt;BR /&gt;FloorViz&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# -----------------------&lt;BR /&gt;# Leaf Shapes&lt;BR /&gt;# -----------------------&lt;/P&gt;&lt;P&gt;MassViz --&amp;gt;&lt;BR /&gt;case vizMode == "massOnly" :&lt;BR /&gt;Mass.&lt;BR /&gt;case vizMode == "massAndFloors" :&lt;BR /&gt;set(material.opacity,0.2) Mass.&lt;BR /&gt;else:&lt;BR /&gt;NIL&lt;/P&gt;&lt;P&gt;FloorViz --&amp;gt;&lt;BR /&gt;case vizMode == "massOnly" :&lt;BR /&gt;NIL&lt;BR /&gt;else:&lt;BR /&gt;FloorViz.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;OpenSpace --&amp;gt; color("#777777")&lt;/P&gt;&lt;P&gt;Ground --&amp;gt; color("#777777")&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 18:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/reporting-gfa-from-tutorial-11-to-my-3d-buildings/m-p/1128110#M10376</guid>
      <dc:creator>IrenePosada</dc:creator>
      <dc:date>2021-12-21T18:37:39Z</dc:date>
    </item>
  </channel>
</rss>

