<?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: City Engine to Arcpro -Export Parcel to GIS in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1659019#M11595</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/691588"&gt;@Tiwene_Roberts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing your code snippet—it's awesome that you're diving in and learning by doing with CityEngine. I understand the challenge of exporting that inner parcel boundary as a GIS layer. I'll walk you through a straightforward solution below.&lt;/P&gt;&lt;P&gt;When exporting a Model to FileGDB, it is not possible to only select certain faces of a Model. Therefore, all face geometries in the CGA code, that you do not want to export, have to be &lt;EM&gt;NIL&lt;/EM&gt;ed.&lt;BR /&gt;&lt;A href="https://docdev.arcgis.com/en/cityengine/latest/cga/cga-nil.htm" target="_blank" rel="noopener"&gt;NIL operation—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// -----------------
// Outer parcel definition (optional visualization only)
// -----------------

OuterParcel --&amp;gt; NIL
// set(parcelType, "outer")
// color("#99ccff")&lt;/LI-CODE&gt;&lt;P&gt;Then Export to the model to&amp;nbsp;&lt;EM&gt;FileGDB&lt;/EM&gt; and make sure to only export &lt;EM&gt;Models&lt;/EM&gt;:&lt;BR /&gt;&lt;A href="https://docdev.arcgis.com/en/cityengine/latest/help/help-export-filegdb.htm" target="_blank" rel="noopener"&gt;Export FileGDB (Esri File Geodatabase)—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ThomasFuchs_0-1760965536536.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142232i3B57B80FBEAAD954/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ThomasFuchs_0-1760965536536.png" alt="ThomasFuchs_0-1760965536536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2025 08:26:59 GMT</pubDate>
    <dc:creator>ThomasFuchs</dc:creator>
    <dc:date>2025-10-21T08:26:59Z</dc:date>
    <item>
      <title>City Engine to Arcpro -Export Parcel to GIS</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1658986#M11594</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im learning by doing with limited knowledge and experience. The code snippet below I've used to use and offset distance from the boundary to create an inner parcel.&lt;/P&gt;&lt;P&gt;What I'm having trouble with is being able to export the resulting face (boundary) geomentry of the inner lot to gis as a layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;// inner_parcel_export.cga&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// ------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Purpose: Create an inner parcel offset inward from all boundaries by 1 m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// and mark it for export to GIS (e.g., as shapefile or GDB).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// ------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Attributes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;attr&lt;/SPAN&gt; &lt;SPAN&gt;offsetDist&lt;/SPAN&gt; = 1.0 &lt;SPAN&gt;// inward offset distance in meters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;attr&lt;/SPAN&gt; &lt;SPAN&gt;subparcel&lt;/SPAN&gt; = 0 &lt;SPAN&gt;// attribute flag: 1 = inner parcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;attr&lt;/SPAN&gt; &lt;SPAN&gt;parcelType&lt;/SPAN&gt; = &lt;SPAN&gt;"outer"&lt;/SPAN&gt; &lt;SPAN&gt;// attribute tag: outer/inner&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Start Rule&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;@StartRule&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lot&lt;/SPAN&gt; --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Assign attributes to the outer parcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;(&lt;SPAN&gt;subparcel&lt;/SPAN&gt;, 0)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;(&lt;SPAN&gt;parcelType&lt;/SPAN&gt;, &lt;SPAN&gt;"outer"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Offset inward by offsetDist to create a new shape&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;offset&lt;/SPAN&gt;(-&lt;SPAN&gt;offsetDist&lt;/SPAN&gt;) &lt;SPAN&gt;InnerBoundary&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Inner boundary component handling&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;InnerBoundary&lt;/SPAN&gt; --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Split geometry into inside and border parts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;comp&lt;/SPAN&gt;(&lt;SPAN&gt;f&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;inside&lt;/SPAN&gt; : &lt;SPAN&gt;InnerParcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;| &lt;SPAN&gt;border&lt;/SPAN&gt; : &lt;SPAN&gt;OuterParcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Inner parcel definition&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;InnerParcel&lt;/SPAN&gt; --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;(&lt;SPAN&gt;subparcel&lt;/SPAN&gt;, 1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;(&lt;SPAN&gt;parcelType&lt;/SPAN&gt;, &lt;SPAN&gt;"inner"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;color&lt;/SPAN&gt;(&lt;SPAN&gt;"#ffcc99"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Keep as polygon shape for GIS export (no extrusion)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Outer parcel definition (optional visualization only)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;OuterParcel&lt;/SPAN&gt; --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;(&lt;SPAN&gt;parcelType&lt;/SPAN&gt;, &lt;SPAN&gt;"outer"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;color&lt;/SPAN&gt;(&lt;SPAN&gt;"#99ccff"&lt;/SPAN&gt;)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 09:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1658986#M11594</guid>
      <dc:creator>Tiwene_Roberts</dc:creator>
      <dc:date>2025-10-20T09:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: City Engine to Arcpro -Export Parcel to GIS</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1659019#M11595</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/691588"&gt;@Tiwene_Roberts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing your code snippet—it's awesome that you're diving in and learning by doing with CityEngine. I understand the challenge of exporting that inner parcel boundary as a GIS layer. I'll walk you through a straightforward solution below.&lt;/P&gt;&lt;P&gt;When exporting a Model to FileGDB, it is not possible to only select certain faces of a Model. Therefore, all face geometries in the CGA code, that you do not want to export, have to be &lt;EM&gt;NIL&lt;/EM&gt;ed.&lt;BR /&gt;&lt;A href="https://docdev.arcgis.com/en/cityengine/latest/cga/cga-nil.htm" target="_blank" rel="noopener"&gt;NIL operation—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// -----------------
// Outer parcel definition (optional visualization only)
// -----------------

OuterParcel --&amp;gt; NIL
// set(parcelType, "outer")
// color("#99ccff")&lt;/LI-CODE&gt;&lt;P&gt;Then Export to the model to&amp;nbsp;&lt;EM&gt;FileGDB&lt;/EM&gt; and make sure to only export &lt;EM&gt;Models&lt;/EM&gt;:&lt;BR /&gt;&lt;A href="https://docdev.arcgis.com/en/cityengine/latest/help/help-export-filegdb.htm" target="_blank" rel="noopener"&gt;Export FileGDB (Esri File Geodatabase)—ArcGIS CityEngine Resources | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ThomasFuchs_0-1760965536536.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142232i3B57B80FBEAAD954/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ThomasFuchs_0-1760965536536.png" alt="ThomasFuchs_0-1760965536536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 08:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1659019#M11595</guid>
      <dc:creator>ThomasFuchs</dc:creator>
      <dc:date>2025-10-21T08:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: City Engine to Arcpro -Export Parcel to GIS</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1659851#M11596</link>
      <description>&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;Thank you kindly for your solution it worked perfectly not to mention a better understanding of the application. ✌&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 02:02:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/city-engine-to-arcpro-export-parcel-to-gis/m-p/1659851#M11596</guid>
      <dc:creator>Tiwene_Roberts</dc:creator>
      <dc:date>2025-10-23T02:02:23Z</dc:date>
    </item>
  </channel>
</rss>

