<?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 Changing GroupLayer Type in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1510347#M11906</link>
    <description>&lt;P&gt;At 3.2 they added ability to change grouplayer to either check boxes or radio buttons.&amp;nbsp; Is there a way to create a new grouplayer in code to default to radio buttons?&amp;nbsp; I'm using&amp;nbsp;LayerFactory.Instance.CreateGroupLayer() to create the GroupLayer.&amp;nbsp; I can't find any methods to do so (or options in the CTOR), but maybe still too new?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 22:35:55 GMT</pubDate>
    <dc:creator>JoeMadrigal</dc:creator>
    <dc:date>2024-07-25T22:35:55Z</dc:date>
    <item>
      <title>Changing GroupLayer Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1510347#M11906</link>
      <description>&lt;P&gt;At 3.2 they added ability to change grouplayer to either check boxes or radio buttons.&amp;nbsp; Is there a way to create a new grouplayer in code to default to radio buttons?&amp;nbsp; I'm using&amp;nbsp;LayerFactory.Instance.CreateGroupLayer() to create the GroupLayer.&amp;nbsp; I can't find any methods to do so (or options in the CTOR), but maybe still too new?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 22:35:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1510347#M11906</guid>
      <dc:creator>JoeMadrigal</dc:creator>
      <dc:date>2024-07-25T22:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Changing GroupLayer Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1511926#M11917</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17969"&gt;@JoeMadrigal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can access the CIM Definition of the Group Layer to accomplish this. Code snippet:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;//Construct/Create the group layer first.
var groupLayerCreationParams = new GroupLayerCreationParams();
groupLayerCreationParams.Name = "Group Layer";
var groupLayer = LayerFactory.Instance.
CreateLayer&amp;lt;GroupLayer&amp;gt;(groupLayerCreationParams, MapView.Active.Map);
//Get the CIM Definition of the group layer
var groupLayerDefinition = groupLayer.GetDefinition() as CIMGroupLayer;
//Set the "SublayerVisibilityMode" CIM property of the group layer to 
//"Independent" or "Exclusive". Use the SublayerVisibilityMode enum.
//SublayerVisibilityMode.Exclusive - Radio button
//SublayerVisibilityMode.Independent - checkbox
groupLayerDefinition.SublayerVisibilityMode = SublayerVisibilityMode.Exclusive;
//Set the modified CIM Definition back to the group layer.
groupLayer.SetDefinition(groupLayerDefinition);&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 29 Jul 2024 21:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1511926#M11917</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-07-29T21:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing GroupLayer Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1511938#M11918</link>
      <description>&lt;P&gt;That worked great thank you.&amp;nbsp; Is there a CIM diagram that describes all the CIM definitions of most things in the map or a layout?&amp;nbsp; Seems you can modify just about anything using those definitions.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 21:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1511938#M11918</guid>
      <dc:creator>JoeMadrigal</dc:creator>
      <dc:date>2024-07-29T21:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing GroupLayer Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1511960#M11919</link>
      <description>&lt;P&gt;Found a good doc:&amp;nbsp;&lt;A href="https://proceedings.esri.com/library/userconf/devsummit19/papers/DevSummitPS_33.pdf" target="_blank"&gt;DevSummitPS_33.pdf (SECURED) (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 22:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1511960#M11919</guid>
      <dc:creator>JoeMadrigal</dc:creator>
      <dc:date>2024-07-29T22:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing GroupLayer Type</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1512635#M11923</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17969"&gt;@JoeMadrigal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the &lt;A href="https://github.com/Esri/arcgis-pro-sdk-cim-viewer" target="_self"&gt;CIM Viewer&amp;nbsp;&lt;/A&gt;addin to examine the CIM Definition of objects in ArcGIS Pro. If you are on Pro 3.x, use the addin from the CIMViewer_3.x folder in the above repo.&lt;/P&gt;&lt;P&gt;The ReadMe file in the repo has detailed instructions on how to use the addin to view the CIM Definitions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 21:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/changing-grouplayer-type/m-p/1512635#M11923</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-07-30T21:26:19Z</dc:date>
    </item>
  </channel>
</rss>

