<?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: Error Reading CGA File in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36117#M491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue: &amp;nbsp;poor logic. &amp;nbsp;This self-referencing attribute was causing the strange error. &amp;nbsp;The error never hinted at this kind of issue so this post should serve as a warning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attr &lt;EM&gt;Front_Baseheight&lt;/EM&gt; =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;case &lt;EM&gt;Front_Baseheight&lt;/EM&gt; &amp;gt; 0: &lt;EM&gt;Front_Baseheight&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;case &lt;EM&gt;Front_Baseheight&lt;/EM&gt; == 0: 2.4384 # 8'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;else: 3.048 # 10'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 13:58:51 GMT</pubDate>
    <dc:creator>JasonBalmut</dc:creator>
    <dc:date>2017-01-25T13:58:51Z</dc:date>
    <item>
      <title>Error Reading CGA File</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36114#M488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a Zoning Regulations.cga rule from 2012 that I wanted to modify for a project I'm working on in CityEngine 2016.1. &amp;nbsp;I made the adjustments and now the file produces an error any time I click on it in the Navigator pane. &amp;nbsp;I'm not sure what is triggering the error, but I assume it's from something in the code that may have been deprecated in later releases of CityEngine. &amp;nbsp;Is there a way to check for that? &amp;nbsp;And if I'm wrong, does any one know why this error would be generated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Error produced when inspecting the CGA rule in Navigator pane" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/308036_CityEngine_CGA_Error.png" style="width: 620px; height: 436px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36114#M488</guid>
      <dc:creator>JasonBalmut</dc:creator>
      <dc:date>2017-01-24T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error Reading CGA File</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36115#M489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since 2012 there certainly have been some breaking changes, so it is not surprising if the code has errors. &amp;nbsp;However, typically, it should be fixable. &amp;nbsp;If you open the code in the rule editor, you can see the errors and try to update the code and make it acceptable for 2016.1. &amp;nbsp;The CGA reference manual will probably be helpful for this task. &amp;nbsp;&lt;A class="link-titled" href="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cgaindex.html" title="http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/cgareference/cgaindex.html"&gt;CGA Reference Index&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In regards to the error, I'm not sure what is causing it. &amp;nbsp;If the error is not coming from the code, you can try to delete the .cgb files in the bin folder and see if that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36115#M489</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-01-24T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error Reading CGA File</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36116#M490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no obvious errors nor warnings in the rule editor. &amp;nbsp;For the most part, it works. &amp;nbsp;Even after deleting the .cgb files from the bin and re-opening CityEngine, the error persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my start rules I'm using constants that reference an imported rule set. &amp;nbsp;By doing so the&amp;nbsp;Default style appears blank. &amp;nbsp;I can't see how that would cause this type of error, but it's the only other oddity in the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 19:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36116#M490</guid>
      <dc:creator>JasonBalmut</dc:creator>
      <dc:date>2017-01-24T19:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error Reading CGA File</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36117#M491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue: &amp;nbsp;poor logic. &amp;nbsp;This self-referencing attribute was causing the strange error. &amp;nbsp;The error never hinted at this kind of issue so this post should serve as a warning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attr &lt;EM&gt;Front_Baseheight&lt;/EM&gt; =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;case &lt;EM&gt;Front_Baseheight&lt;/EM&gt; &amp;gt; 0: &lt;EM&gt;Front_Baseheight&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;case &lt;EM&gt;Front_Baseheight&lt;/EM&gt; == 0: 2.4384 # 8'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;else: 3.048 # 10'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 13:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/error-reading-cga-file/m-p/36117#M491</guid>
      <dc:creator>JasonBalmut</dc:creator>
      <dc:date>2017-01-25T13:58:51Z</dc:date>
    </item>
  </channel>
</rss>

