<?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: Color by Land Use in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570992#M7722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Mr Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work´s fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 16:20:37 GMT</pubDate>
    <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
    <dc:date>2014-10-28T16:20:37Z</dc:date>
    <item>
      <title>Color by Land Use</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570990#M7720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;I´m newbie in CGA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried apply Color in (2D) Shapes based on Land Use atribute. I use &lt;STRONG&gt;3DCIM_Parcel_Zoning Envelopes.cga&lt;/STRONG&gt; as a sample, but this CGA change my geometry (Angles) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a simple CGA sample for apply a Color based on attribute, without geometry operations, just change colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="POS_CGA.JPG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/25511_POS_CGA.JPG" style="width: 620px; height: 278px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:38:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570990#M7720</guid>
      <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
      <dc:date>2014-10-28T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Land Use</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570991#M7721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a simple rule example. One attribute determines color. That color is shown in the other attribute, YourColor, and that color attribute can be overridden by the color picker on that attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14145122837052945" jivemacro_uid="_14145122837052945"&gt;
&lt;P&gt;version "2014.1"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;@Range("Go", "Caution", "Stop")&lt;/P&gt;
&lt;P&gt;attr DeterminesColor = "Go"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;@Color&lt;/P&gt;
&lt;P&gt;attr YourColor = theFunctionThatGivesColorPerAttribute&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;@StartRule&lt;/P&gt;
&lt;P&gt;ColorMeMine --&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; color(theFunctionThatGivesColorPerAttribute)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;theFunctionThatGivesColorPerAttribute =&lt;/P&gt;
&lt;P&gt;&amp;nbsp; case DeterminesColor == "Go": "#00FF00" #Green&lt;/P&gt;
&lt;P&gt;&amp;nbsp; case DeterminesColor == "Caution": "#FFAA00" #Orange&lt;/P&gt;
&lt;P&gt;&amp;nbsp; case DeterminesColor == "Stop": "#FF0000" # Red&lt;/P&gt;
&lt;P&gt;&amp;nbsp; else: "#000000" #Error! Picker value unknown. Use black.&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:05:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570991#M7721</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-10-28T16:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Color by Land Use</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570992#M7722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Mr Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work´s fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/color-by-land-use/m-p/570992#M7722</guid>
      <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
      <dc:date>2014-10-28T16:20:37Z</dc:date>
    </item>
  </channel>
</rss>

