<?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 split operation in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-split-operation/m-p/568430#M7675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working on a cga excercise when I got stuck writing this split operation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BuildVolume --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;split(y){floorHeight("GF") : Volume("GF") | ~1: UpperFloors}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I give me the Mismatched token error ( : | ), I don't know whats wrong, in a previous line I used a similar operation with no errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;ScopeAligned(yDim) --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(world.y, 100)&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; split(y){yDim : BaseVolume | ~1: NIL}&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the excercise they use the 2015 version, I got the 2014, could that be it?, when I add the tilde the error dissappears (pic 2) but that's not how they do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm not seeing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2015 01:12:49 GMT</pubDate>
    <dc:creator>F_RContreras</dc:creator>
    <dc:date>2015-12-01T01:12:49Z</dc:date>
    <item>
      <title>Problem with split operation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-split-operation/m-p/568430#M7675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working on a cga excercise when I got stuck writing this split operation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BuildVolume --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;split(y){floorHeight("GF") : Volume("GF") | ~1: UpperFloors}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I give me the Mismatched token error ( : | ), I don't know whats wrong, in a previous line I used a similar operation with no errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;ScopeAligned(yDim) --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; extrude(world.y, 100)&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; split(y){yDim : BaseVolume | ~1: NIL}&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the excercise they use the 2015 version, I got the 2014, could that be it?, when I add the tilde the error dissappears (pic 2) but that's not how they do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm not seeing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 01:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-split-operation/m-p/568430#M7675</guid>
      <dc:creator>F_RContreras</dc:creator>
      <dc:date>2015-12-01T01:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with split operation</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-split-operation/m-p/568431#M7676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a strange bug in the 2014 version.&amp;nbsp; This does not happen in the 2015 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like the function floorHeight("GF") is causing the problem, and you can trick it by multiplying by one, and the compile error goes away:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BuildVolume --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; split(y) { 1*floorHeight("GF") : Volume("GF")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | ~1 : UpperFloors }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a side note, the rule does not generate the building as intended because the scope.sy value, which is passed to ScopeAligned, is zero.&amp;nbsp; Then, yDim is set to 0 in the ScopeAligned rule.&amp;nbsp; To fix this, pass it a non-zero value so that the BaseVolume has a non-zero height.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 10:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/problem-with-split-operation/m-p/568431#M7676</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2015-12-01T10:00:07Z</dc:date>
    </item>
  </channel>
</rss>

