<?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: CityEngine - color gradient rule file? in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489078#M6614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The colorRamp() functions has access to a list of more than 5 colors.&amp;nbsp; For each color map, there are 36 colors (although I don't guarantee that they look visibly different).&amp;nbsp; Specify the value parameter to be any number in the range [0, 1].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2018 12:56:38 GMT</pubDate>
    <dc:creator>CherylLau</dc:creator>
    <dc:date>2018-04-27T12:56:38Z</dc:date>
    <item>
      <title>CityEngine - color gradient rule file?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489075#M6611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GeoNet community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By any chance, does anyone know if there's an existing rule file to apply to buildings/shapes to colorize them based off attribute data like you can with color ramps in ArcGIS? I'd like to apply a graduating color scheme to my shapes to emulate a heat map. If no such rule file exists, how would I go about creating one? Would I need to assign RGB/CMYK values to specific data breaks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I better off trying to create a raster of this data and draping it over my extrusions in CityEngine? I'm sure I could do this in ArcScene, but I'm partial to CityEngine's rendering quality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489075#M6611</guid>
      <dc:creator>KathrynAngleton</dc:creator>
      <dc:date>2018-03-21T19:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: CityEngine - color gradient rule file?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489076#M6612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write a conditional rule. I usually use Excel for this so I can easily adjust the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;case somevalue &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; somevalue &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; color&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;"&lt;SPAN class="comment token"&gt;#FF0000")&lt;/SPAN&gt;
case somevalue &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; somevalue &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; color&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;"&lt;SPAN class="comment token"&gt;#00FF00")&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; color&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"FFFFFF"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489076#M6612</guid>
      <dc:creator>LR</dc:creator>
      <dc:date>2021-12-11T21:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: CityEngine - color gradient rule file?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489077#M6613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LR, I found the colorRamp utility function here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/cityengine/latest/cga/cga-color-ramp-function.htm" title="https://desktop.arcgis.com/en/cityengine/latest/cga/cga-color-ramp-function.htm"&gt;colorRamp function—Esri CityEngine | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I was looking for, however, my range is very large (min=0, max=39,500) and the default is only 5 breaks. Do you know how to add more breaks? With only 5, every single shape except for one is showing up in the same color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 21:40:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489077#M6613</guid>
      <dc:creator>KathrynAngleton</dc:creator>
      <dc:date>2018-03-22T21:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: CityEngine - color gradient rule file?</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489078#M6614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The colorRamp() functions has access to a list of more than 5 colors.&amp;nbsp; For each color map, there are 36 colors (although I don't guarantee that they look visibly different).&amp;nbsp; Specify the value parameter to be any number in the range [0, 1].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/cityengine-color-gradient-rule-file/m-p/489078#M6614</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2018-04-27T12:56:38Z</dc:date>
    </item>
  </channel>
</rss>

