<?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 Problem with dividing one facade into different segments with Split Command in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1304073#M11053</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have written a CGA code for a building, and I want to divide the left side of the building's facade into three segments and write different codes for each segment. However, I'm facing an issue where CityEngine (CE) divides the facade into segments but repeats the same rule for the first segment for the other segments.&lt;/P&gt;&lt;P&gt;To divide the left facade into different segments, I used the "split" command along the x-axis and assigned the length of each segment as an attribute (attr tile_width). Then, I assigned a new code for each segment. However, it still starts the code of each segment with the code of the first segment and continues with the rest of the codes.&lt;/P&gt;&lt;P&gt;Interestingly, the "split" command works fine for dividing the floors through the y-axis and I can write different code for each section, But when it comes to the x-axis, it doesn't apply them correctly to each segment.&lt;/P&gt;&lt;P&gt;here is my code for the ground floor of the left facade:&lt;/P&gt;&lt;DIV&gt;attr tile_width1 = 16.33 #lenght of the 1st segment&lt;BR /&gt;attr tile_width2 = 43.54&amp;nbsp;#lenght of the 2nd segment&lt;BR /&gt;attr tile_width3 = 17.10&amp;nbsp;#lenght of the 3rd segment&lt;BR /&gt;attr height = 5.68&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Lot --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; extrude(height) Building&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Building --&amp;gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; comp(f){ front : FrontFacade | right : RightFacade | left : LeftFacade| back : BackFacade | top : Roof}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;LeftFacade --&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; setupProjection(0, scope.xy, 1.5, 1, 0, 0, 1)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; setupProjection(2, scope.xy, scope.sx, scope.sy)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; split(y){ groundfloor_height: GroundfloorleftSide | { ~floor_height: FloorLeftside }* }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; texture(textureLeft)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; projectUV(0)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;GroundfloorleftSide --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x) { tile_width1 : FrontSeg1 | tile_width2 : FrontSeg2 | tile_width3 : FrontSeg3 }&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;FloorLeftside --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x) { tile_width1 : FrontSeg4 | tile_width2 : FrontSeg5 | tile_width3 : FrontSeg6 } &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;## LeftFacade&lt;/DIV&gt;&lt;DIV&gt;FrontSeg1 --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; split(x){&amp;nbsp; 3 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 2 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 4 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 4 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 5 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 5 : Wall }&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FrontSeg2 --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x){&amp;nbsp; 0.2 : Wall&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall}&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FrontSeg3 --&amp;gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x){&amp;nbsp; 0.2 : Wall&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 5 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall}&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached picture, CE repeats the code for FrontSeg1 not only for the first segment but also for the second and third segments. In other words, for each segment, CE applies all three FrontSeg1, FrontSeg2, and FrontSeg3 together (starting from FrontSeg1). However, I only want FrontSeg1 code for the first segment, only FrontSeg2 for the second segment, and FrontSeg3 for the third segment without any repetition.&lt;/P&gt;&lt;P&gt;I would really appreciate your help. Thank you in advance!&lt;/P&gt;&lt;P&gt;Mahnoush&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3D View1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74400iFC309A70D0C8BED6/image-size/large?v=v2&amp;amp;px=999" role="button" title="3D View1.jpg" alt="3D View1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 17:55:00 GMT</pubDate>
    <dc:creator>MahnoushMostafavisabet</dc:creator>
    <dc:date>2023-06-28T17:55:00Z</dc:date>
    <item>
      <title>Problem with dividing one facade into different segments with Split Command</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1304073#M11053</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have written a CGA code for a building, and I want to divide the left side of the building's facade into three segments and write different codes for each segment. However, I'm facing an issue where CityEngine (CE) divides the facade into segments but repeats the same rule for the first segment for the other segments.&lt;/P&gt;&lt;P&gt;To divide the left facade into different segments, I used the "split" command along the x-axis and assigned the length of each segment as an attribute (attr tile_width). Then, I assigned a new code for each segment. However, it still starts the code of each segment with the code of the first segment and continues with the rest of the codes.&lt;/P&gt;&lt;P&gt;Interestingly, the "split" command works fine for dividing the floors through the y-axis and I can write different code for each section, But when it comes to the x-axis, it doesn't apply them correctly to each segment.&lt;/P&gt;&lt;P&gt;here is my code for the ground floor of the left facade:&lt;/P&gt;&lt;DIV&gt;attr tile_width1 = 16.33 #lenght of the 1st segment&lt;BR /&gt;attr tile_width2 = 43.54&amp;nbsp;#lenght of the 2nd segment&lt;BR /&gt;attr tile_width3 = 17.10&amp;nbsp;#lenght of the 3rd segment&lt;BR /&gt;attr height = 5.68&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Lot --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; extrude(height) Building&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Building --&amp;gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; comp(f){ front : FrontFacade | right : RightFacade | left : LeftFacade| back : BackFacade | top : Roof}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;LeftFacade --&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; setupProjection(0, scope.xy, 1.5, 1, 0, 0, 1)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; setupProjection(2, scope.xy, scope.sx, scope.sy)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; split(y){ groundfloor_height: GroundfloorleftSide | { ~floor_height: FloorLeftside }* }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; texture(textureLeft)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; projectUV(0)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;GroundfloorleftSide --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x) { tile_width1 : FrontSeg1 | tile_width2 : FrontSeg2 | tile_width3 : FrontSeg3 }&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;FloorLeftside --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x) { tile_width1 : FrontSeg4 | tile_width2 : FrontSeg5 | tile_width3 : FrontSeg6 } &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;## LeftFacade&lt;/DIV&gt;&lt;DIV&gt;FrontSeg1 --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; split(x){&amp;nbsp; 3 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 2 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 4 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 4 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 5 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 5 : Wall }&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FrontSeg2 --&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x){&amp;nbsp; 0.2 : Wall&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall}&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FrontSeg3 --&amp;gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;split(x){&amp;nbsp; 0.2 : Wall&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.2 : split(y){ 0.03: Porchfloor | 2.3: Door | 0.1 : PorchShade | ~2: SolidWall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 5 : Wall&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 1.4 : split(y){ ~1: Wall | 1.2: Window | ~0.4: Wall }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 0.6 : Wall}&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached picture, CE repeats the code for FrontSeg1 not only for the first segment but also for the second and third segments. In other words, for each segment, CE applies all three FrontSeg1, FrontSeg2, and FrontSeg3 together (starting from FrontSeg1). However, I only want FrontSeg1 code for the first segment, only FrontSeg2 for the second segment, and FrontSeg3 for the third segment without any repetition.&lt;/P&gt;&lt;P&gt;I would really appreciate your help. Thank you in advance!&lt;/P&gt;&lt;P&gt;Mahnoush&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3D View1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74400iFC309A70D0C8BED6/image-size/large?v=v2&amp;amp;px=999" role="button" title="3D View1.jpg" alt="3D View1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 17:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1304073#M11053</guid>
      <dc:creator>MahnoushMostafavisabet</dc:creator>
      <dc:date>2023-06-28T17:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dividing one facade into different segments with Split Command</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1305262#M11066</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;FrontSeg1&lt;/FONT&gt; code is repeated for each left face because your building has 3 faces classified as &lt;FONT face="courier new,courier"&gt;left&lt;/FONT&gt;, and the &lt;FONT face="courier new,courier"&gt;comp&lt;/FONT&gt; in &lt;FONT face="courier new,courier"&gt;Building&lt;/FONT&gt; separates each left face individually as a different shape and applies the &lt;FONT face="courier new,courier"&gt;LeftFacade&lt;/FONT&gt; rule to each of the three faces.&amp;nbsp; This means that each of the three left faces will start with &lt;FONT face="courier new,courier"&gt;FrontSeg1&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you wanted all the left faces to be processed together as a single shape.&amp;nbsp; This can be achieved by using the &lt;FONT face="courier new,courier"&gt;=&lt;/FONT&gt; operator instead of the &lt;FONT face="courier new,courier"&gt;:&lt;/FONT&gt; operator.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Building --&amp;gt;
    comp(f){ front: FrontFacade | right: RightFacade | left= LeftFacade| back: BackFacade | top: Roof }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, instead of using a &lt;FONT face="courier new,courier"&gt;split&lt;/FONT&gt; to separate the three parts, you might be able to use a &lt;FONT face="courier new,courier"&gt;comp&lt;/FONT&gt; and use indices as the selectors to identify the 3 parts.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Building --&amp;gt; 
    comp(f){ front: FrontFacade | right: RightFacade | left= LeftFacade| back: BackFacade | top: Roof }

GroundfloorleftSide --&amp;gt;
    comp(f) { 0: FrontSeg1 | 1: FrontSeg2 | 2: FrontSeg3 }   
FloorLeftside --&amp;gt;
    comp(f) { 0: FrontSeg4 | 1: FrontSeg5 | 2: FrontSeg6 }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 10:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1305262#M11066</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2023-07-03T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with dividing one facade into different segments with Split Command</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1308781#M11081</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;CherylLau,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 19:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-dividing-one-facade-into-different/m-p/1308781#M11081</guid>
      <dc:creator>MahnoushMostafavisabet</dc:creator>
      <dc:date>2023-07-17T19:52:50Z</dc:date>
    </item>
  </channel>
</rss>

