<?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 Does CIMBasicFeatureLayer.SelectionSymbol do anything? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1564274#M12347</link>
    <description>&lt;P&gt;I am trying to customize the selection symbol for a parcel polygon featurelayer in ArcGIS Pro 3.2.1. Below this layer in the TOC is a zoning layer with complex symbology. In some cases selected parcel polygons get visually lost. I'm trying to customize the selection symbol like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt; QueuedTask.Run(() =&amp;gt;
 {
     //clear existing parcel selection
     _parcels.ClearSelection();
     CIMStroke baseline = SymbolFactory.Instance.ConstructStroke(CIMColor.CreateRGBColor(115, 223, 255, 0), 4.0, SimpleLineStyle.Solid);
     CIMStroke dashLine = SymbolFactory.Instance.ConstructStroke(CIMColor.CreateRGBColor(255, 255, 255), 3.0, SimpleLineStyle.Dash);
     CIMFill transpFill = SymbolFactory.Instance.ConstructSolidFill(CIMColor.NoColor());
     List&amp;lt;CIMSymbolLayer&amp;gt; symbolLayers = new List&amp;lt;CIMSymbolLayer&amp;gt; { dashLine, baseline,  transpFill };
     CIMPolygonSymbol selectionSymbol =  new CIMPolygonSymbol() { SymbolLayers = symbolLayers.ToArray() };
     var layerDef = _parcels.GetDefinition() as CIMFeatureLayer;
     layerDef.UseSelectionSymbol = false;
     layerDef.SelectionSymbol = selectionSymbol.MakeSymbolReference();
     _parcels.SetDefinition(layerDef);
 });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have tried this with .UseSelectionSymbol set to true which does not work either. Have I missed something along the way? Can we not customize the selection symbol for specific feature layers?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 19:22:38 GMT</pubDate>
    <dc:creator>ScottDickison1</dc:creator>
    <dc:date>2024-12-03T19:22:38Z</dc:date>
    <item>
      <title>Does CIMBasicFeatureLayer.SelectionSymbol do anything?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1564274#M12347</link>
      <description>&lt;P&gt;I am trying to customize the selection symbol for a parcel polygon featurelayer in ArcGIS Pro 3.2.1. Below this layer in the TOC is a zoning layer with complex symbology. In some cases selected parcel polygons get visually lost. I'm trying to customize the selection symbol like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt; QueuedTask.Run(() =&amp;gt;
 {
     //clear existing parcel selection
     _parcels.ClearSelection();
     CIMStroke baseline = SymbolFactory.Instance.ConstructStroke(CIMColor.CreateRGBColor(115, 223, 255, 0), 4.0, SimpleLineStyle.Solid);
     CIMStroke dashLine = SymbolFactory.Instance.ConstructStroke(CIMColor.CreateRGBColor(255, 255, 255), 3.0, SimpleLineStyle.Dash);
     CIMFill transpFill = SymbolFactory.Instance.ConstructSolidFill(CIMColor.NoColor());
     List&amp;lt;CIMSymbolLayer&amp;gt; symbolLayers = new List&amp;lt;CIMSymbolLayer&amp;gt; { dashLine, baseline,  transpFill };
     CIMPolygonSymbol selectionSymbol =  new CIMPolygonSymbol() { SymbolLayers = symbolLayers.ToArray() };
     var layerDef = _parcels.GetDefinition() as CIMFeatureLayer;
     layerDef.UseSelectionSymbol = false;
     layerDef.SelectionSymbol = selectionSymbol.MakeSymbolReference();
     _parcels.SetDefinition(layerDef);
 });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have tried this with .UseSelectionSymbol set to true which does not work either. Have I missed something along the way? Can we not customize the selection symbol for specific feature layers?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 19:22:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1564274#M12347</guid>
      <dc:creator>ScottDickison1</dc:creator>
      <dc:date>2024-12-03T19:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Does CIMBasicFeatureLayer.SelectionSymbol do anything?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1564753#M12355</link>
      <description>&lt;P&gt;I suspect that because u r setting the fill transparent it (ie the selection symbol) isnt giving u an appropriate contrast to the "underlying" feature symbol (of the selected feature) with just the highlight being applied to the feature boundary...&lt;/P&gt;
&lt;PRE class="lia-code-sample line-numbers language-c" tabindex="0"&gt;&lt;CODE&gt;CIMFill transpFill = SymbolFactory.Instance.ConstructSolidFill(CIMColor.NoColor());&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think, at this juncture, it is trial and error w/ the selection symbol to get the effect u r looking for.&amp;nbsp;&lt;SPAN&gt;As far as your code goes, it all looks correct to me.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;p.s. I have never used&amp;nbsp;&lt;SPAN&gt;UseSelectionSymbol&amp;nbsp;but, given the name of the property, I wld expect it to have to be "true".&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 16:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1564753#M12355</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2024-12-04T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Does CIMBasicFeatureLayer.SelectionSymbol do anything?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1565084#M12368</link>
      <description>&lt;P&gt;I should probably have been more clear. The outline that I've created with the CIMPolygonSymbol never draws. Using the PolygonSelectionFillerColor and SelectionColor works but both of those only seem to allow for soild fills. No combination of what I've tried has allowed for the custom symbol to be used. I have checked the layer with the CIMViewer and the custom symbol is there, it's just not getting utilized. I've attached the text from the CIMViewer.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 13:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1565084#M12368</guid>
      <dc:creator>ScottDickison1</dc:creator>
      <dc:date>2024-12-05T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does CIMBasicFeatureLayer.SelectionSymbol do anything?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1565097#M12370</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have remembered my post on another similar &lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/set-selection-symbol-of-feature-layer/m-p/1145531" target="_self"&gt;thread&lt;/A&gt;. There are no changes in layer properties window in ArcGIS Pro. There is possibility to change color for now, but not symbol.&lt;/P&gt;
&lt;P&gt;P.s. I am still on ArcGIS Pro 3.3.2&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 13:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1565097#M12370</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-12-05T13:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Does CIMBasicFeatureLayer.SelectionSymbol do anything?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1565171#M12373</link>
      <description>&lt;P&gt;Is this something that will be implemented in the future? That would be a nice feature to have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 15:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/does-cimbasicfeaturelayer-selectionsymbol-do/m-p/1565171#M12373</guid>
      <dc:creator>ScottDickison1</dc:creator>
      <dc:date>2024-12-05T15:45:09Z</dc:date>
    </item>
  </channel>
</rss>

