<?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: Weird CGA rule: How does this work? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608147#M8132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded the code from the link you sent (and also from within CE by going to Help -&amp;gt; Download Tutorials and Examples), but I have something different on line 55.&amp;nbsp; The code you mention appears on line 98 instead, and it has a ~1 as &lt;A _jive_internal="true" href="https://community.esri.com/people/raze"&gt;Z R&lt;/A&gt;​ mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;(x){ &lt;/SPAN&gt;&lt;EM style="color: #0000c0; font-size: 10.0pt; font-family: 'Courier New';"&gt;StoneLength&lt;/EM&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;*&lt;/SPAN&gt;&lt;STRONG style="color: #0000c0; font-size: 10.0pt; font-family: 'Courier New';"&gt;rand&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;(0.8,1.2): &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;Stone&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; | ~1: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;RollingStones&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 09:28:18 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2016-04-11T09:28:18Z</dc:date>
    <item>
      <title>Weird CGA rule: How does this work?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608145#M8130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Poking around in the &lt;A href="http://www.arcgis.com/home/item.html?id=065a38255e2d4949baf9c04e5c988117"&gt;"Pompeii" example&lt;/A&gt;​ , I found this line in pompeiiStreets.cga (line 55):&lt;/P&gt;&lt;PRE&gt;split(x){ stoneLength*rand(0.8,1.2): Stone | RollingStones }&lt;/PRE&gt;&lt;P&gt;I'm pretty new to CGA in general, but the &lt;A href="http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/cgareference/op_split.html"&gt;docs on the split operation&lt;/A&gt; don't mention the possibility of a successor block without a size (as in "RollingStones" above). What will happen when this line runs? Is "RollingStones" just the shape successor for "all the remaining geometry" after the split?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608145#M8130</guid>
      <dc:creator>PhilDesrosiers</dc:creator>
      <dc:date>2016-04-07T14:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Weird CGA rule: How does this work?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608146#M8131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Must be old code, that doesn't work anymore. It should be &lt;STRONG&gt;~1&lt;/STRONG&gt;: RollingStones.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 13:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608146#M8131</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2016-04-08T13:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weird CGA rule: How does this work?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608147#M8132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded the code from the link you sent (and also from within CE by going to Help -&amp;gt; Download Tutorials and Examples), but I have something different on line 55.&amp;nbsp; The code you mention appears on line 98 instead, and it has a ~1 as &lt;A _jive_internal="true" href="https://community.esri.com/people/raze"&gt;Z R&lt;/A&gt;​ mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;split&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;(x){ &lt;/SPAN&gt;&lt;EM style="color: #0000c0; font-size: 10.0pt; font-family: 'Courier New';"&gt;StoneLength&lt;/EM&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;*&lt;/SPAN&gt;&lt;STRONG style="color: #0000c0; font-size: 10.0pt; font-family: 'Courier New';"&gt;rand&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;(0.8,1.2): &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;Stone&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; | ~1: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #600060;"&gt;RollingStones&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 09:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/weird-cga-rule-how-does-this-work/m-p/608147#M8132</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2016-04-11T09:28:18Z</dc:date>
    </item>
  </channel>
</rss>

