<?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: Rule inline - geometry merge in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1655402#M11588</link>
    <description>&lt;P&gt;Also the upcoming 2025.1 release of CityEngine will introduce the modify/inline(recompose) operation, which heavily simplifies this example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Init --&amp;gt;
    inline(recompose) FShapePieces
    cleanupGeometry(edges, 0)
    House  

FShapePieces --&amp;gt;
    split(z, noAdjust) 
        {  Width: Done.
        | ~1: split(x) { ~Gap_Width: NIL   | Width: Done. }* }&lt;/LI-CODE&gt;&lt;P&gt;You can already test the above code when running the 2025.1 beta by joining the &lt;A href="https://earlyadopter.esri.com/enter/" target="_self"&gt;early adopter program.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Jonas&lt;/P&gt;</description>
    <pubDate>Mon, 06 Oct 2025 07:48:29 GMT</pubDate>
    <dc:creator>JonasObertuefer</dc:creator>
    <dc:date>2025-10-06T07:48:29Z</dc:date>
    <item>
      <title>Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1652022#M11579</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've gone through the instructions on this page (&lt;A href="https://doc.arcgis.com/en/cityengine/latest/cga/cga-inline-operation.htm" target="_blank"&gt;https://doc.arcgis.com/en/cityengine/latest/cga/cga-inline-operation.htm&lt;/A&gt;) and replicated the FShape pieces (right image). However it appears that when the resulting split shapes aren't equal when modifying the split values, the cleanup geometry doesn't unify the shape (left image)? I'm having the same issue when using inline and cleanup geometry to unify other sub shapes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FShapePieces-inline-unify.png" style="width: 689px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140754iD0B35190F7892759/image-size/large?v=v2&amp;amp;px=999" role="button" title="FShapePieces-inline-unify.png" alt="FShapePieces-inline-unify.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 00:24:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1652022#M11579</guid>
      <dc:creator>SteveFox</dc:creator>
      <dc:date>2025-09-22T00:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1652336#M11580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/774269"&gt;@SteveFox&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your question. For this example make sure the distances matches in both splits otherwise cleanupGeometry does not work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonasObertuefer_0-1758623852611.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140801i80887866A1233DF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonasObertuefer_0-1758623852611.png" alt="JonasObertuefer_0-1758623852611.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Jonas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 10:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1652336#M11580</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2025-09-23T10:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1654040#M11582</link>
      <description>&lt;P&gt;Thanks Jonas, will cleanup geometry still work with splits calling up attribute/s (as it's the same attribute it will be matching in both splits) - it doesn't appear to.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 01:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1654040#M11582</guid>
      <dc:creator>SteveFox</dc:creator>
      <dc:date>2025-09-30T01:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1654064#M11583</link>
      <description>&lt;P&gt;Hi, not sure if I can follow. Do mean that if you replace the numbers marked in yellow with an attribute it does not work anymore for you? Can you share an example snippet?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 06:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1654064#M11583</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2025-09-30T06:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1655402#M11588</link>
      <description>&lt;P&gt;Also the upcoming 2025.1 release of CityEngine will introduce the modify/inline(recompose) operation, which heavily simplifies this example:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Init --&amp;gt;
    inline(recompose) FShapePieces
    cleanupGeometry(edges, 0)
    House  

FShapePieces --&amp;gt;
    split(z, noAdjust) 
        {  Width: Done.
        | ~1: split(x) { ~Gap_Width: NIL   | Width: Done. }* }&lt;/LI-CODE&gt;&lt;P&gt;You can already test the above code when running the 2025.1 beta by joining the &lt;A href="https://earlyadopter.esri.com/enter/" target="_self"&gt;early adopter program.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 07:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1655402#M11588</guid>
      <dc:creator>JonasObertuefer</dc:creator>
      <dc:date>2025-10-06T07:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1656567#M11589</link>
      <description>&lt;P&gt;Thanks Jonas,&lt;/P&gt;&lt;P&gt;Follow up question - is it possible to inline recompose and geometry merge certain pieces? e.g. the front and rear building footprints below, which are the result of the split operation. So that we can then apply different subsequent operations to different buildings. The aim is to create a rule that works in a similar way to how we would normally design a block layout set out via a grid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveFox_1-1759988983626.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141659iEEA60CFE1E6DE543/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveFox_1-1759988983626.png" alt="SteveFox_1-1759988983626.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;DevelopableArea --&amp;gt;
    split(x, noAdjust) {
        leftbuildingdepth: split(z) { 
            ~1: leftbuildingrear
            | buildingseparation1: NIL 
            | ~1: leftbuildingfront 
        } 
        | buildingseparation2: NIL 
        | ~1: split(z) { 
            buildingreardepth: rearbuilding 
            | buildingseparation3: NIL 
            | ~1: centrebuilding 
            | buildingseparation4: NIL 
            | buildingfrontdepth: frontbuilding 
        }
        | buildingseparation5: split(z) { 
            buildingreardepth: rearbuilding 
            | buildingseparation3: NIL 
            | ~1: NIL 
            | buildingseparation4: NIL 
            | buildingfrontdepth: frontbuilding 
        }
        | buildingrightdepth: split(z) { 
            buildingreardepth: rearbuilding 
            | buildingseparation3: NIL 
            | ~1: rightbuilding 
            | buildingseparation4: NIL 
            | buildingfrontdepth: frontbuilding 
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 05:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1656567#M11589</guid>
      <dc:creator>SteveFox</dc:creator>
      <dc:date>2025-10-09T05:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rule inline - geometry merge</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1657350#M11591</link>
      <description>&lt;P&gt;Just to follow up - it seemed to be a simple solution to run the inline (recompose), clean up geometry, then after this run comp(f) to identify each individual building.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 01:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/rule-inline-geometry-merge/m-p/1657350#M11591</guid>
      <dc:creator>SteveFox</dc:creator>
      <dc:date>2025-10-13T01:21:54Z</dc:date>
    </item>
  </channel>
</rss>

