<?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: StyleProjectItem method SearchColorRamps always returns empty array of ramps on ArcGIS Pro SDK 2.9 in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/styleprojectitem-method-searchcolorramps-always/m-p/1141613#M7747</link>
    <description>&lt;P&gt;It was issue with ArcGIS Pro project file. Save as didn't solve the issue. I have recreated project from scratch and now it works fine.&lt;/P&gt;&lt;P&gt;I have extracted both projects to files. There is CIMProjectItem record in GISProject.xml file which is related to ArcGIS Colors. In damaged project CatalogPath setting is equal to full project path + ArcGIS Colors:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;CatalogPath&amp;gt;C:\MyProject\Project\ArcGIS Colors&amp;lt;/CatalogPath&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;In working project:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;CatalogPath&amp;gt;ArcGIS Colors&amp;lt;/CatalogPath&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;The same situation with&amp;nbsp;ColorBrewer Schemes (RGB).&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 15:26:10 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2022-02-08T15:26:10Z</dc:date>
    <item>
      <title>StyleProjectItem method SearchColorRamps always returns empty array of ramps on ArcGIS Pro SDK 2.9</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/styleprojectitem-method-searchcolorramps-always/m-p/1140204#M7724</link>
      <description>&lt;P&gt;It was working until ArcGIS Pro 2.7 SDK.&amp;nbsp;&lt;BR /&gt;ArcGIS Pro SDK community sample&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Raster/Colorizer" target="_self"&gt;Raster Colorizer&lt;/A&gt;&amp;nbsp;doesn't work too.&lt;BR /&gt;It throws exception:&lt;BR /&gt;System.ArgumentOutOfRangeException&lt;BR /&gt;&amp;nbsp; HResult=0x80131502&lt;BR /&gt;&amp;nbsp; Message=Index was out of range. Must be non-negative and less than the size of the collection.&lt;BR /&gt;Parameter name: index&lt;BR /&gt;&amp;nbsp; Source=mscorlib&lt;BR /&gt;&amp;nbsp; StackTrace:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;at System.Collections.Generic.List`1.get_Item(Int32 index)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;at Colorizer.BtnNewColor.&amp;lt;&amp;gt;c__DisplayClass0_0.&amp;lt;OnClick&amp;gt;b__0() in D:\ArcGIS_SDK_Samples\arcgis-pro-sdk-community-samples-master\Raster\Colorizer\BtnNewColor.cs:line 54&lt;BR /&gt;&amp;nbsp; &amp;nbsp;at System.Threading.Tasks.Task.Execute()&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 09:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/styleprojectitem-method-searchcolorramps-always/m-p/1140204#M7724</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2022-02-03T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: StyleProjectItem method SearchColorRamps always returns empty array of ramps on ArcGIS Pro SDK 2.9</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/styleprojectitem-method-searchcolorramps-always/m-p/1141613#M7747</link>
      <description>&lt;P&gt;It was issue with ArcGIS Pro project file. Save as didn't solve the issue. I have recreated project from scratch and now it works fine.&lt;/P&gt;&lt;P&gt;I have extracted both projects to files. There is CIMProjectItem record in GISProject.xml file which is related to ArcGIS Colors. In damaged project CatalogPath setting is equal to full project path + ArcGIS Colors:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;CatalogPath&amp;gt;C:\MyProject\Project\ArcGIS Colors&amp;lt;/CatalogPath&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;In working project:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;CatalogPath&amp;gt;ArcGIS Colors&amp;lt;/CatalogPath&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;The same situation with&amp;nbsp;ColorBrewer Schemes (RGB).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/styleprojectitem-method-searchcolorramps-always/m-p/1141613#M7747</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2022-02-08T15:26:10Z</dc:date>
    </item>
  </channel>
</rss>

