<?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>idea Add an arcpy class with availabes enums of CLSID in Python Ideas</title>
    <link>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idi-p/1574399</link>
    <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It would be helpful if something like arcpy.parameters.appearance.multiline_text_clsid (or similar) existed. This would make it easier to programmatically access control CLSIDs. Such an approach would improve usability and maintainability, as developers wouldn't need to search for or manually input CLSIDs.&lt;/P&gt;&lt;P&gt;Having a structured API like this would make programming more efficient and less error-prone.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2025 17:05:17 GMT</pubDate>
    <dc:creator>HildermesJoséMedeirosFilho</dc:creator>
    <dc:date>2025-01-10T17:05:17Z</dc:date>
    <item>
      <title>Add an arcpy class with availabes enums of CLSID</title>
      <link>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idi-p/1574399</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It would be helpful if something like arcpy.parameters.appearance.multiline_text_clsid (or similar) existed. This would make it easier to programmatically access control CLSIDs. Such an approach would improve usability and maintainability, as developers wouldn't need to search for or manually input CLSIDs.&lt;/P&gt;&lt;P&gt;Having a structured API like this would make programming more efficient and less error-prone.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 17:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idi-p/1574399</guid>
      <dc:creator>HildermesJoséMedeirosFilho</dc:creator>
      <dc:date>2025-01-10T17:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add an arcpy class with availabes enums of CLSID</title>
      <link>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idc-p/1574405#M421</link>
      <description>&lt;P&gt;I'm a simple man, I see "add an enum to arcpy", I hit the thumbs up button.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 17:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idc-p/1574405#M421</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2025-01-10T17:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add an arcpy class with availabes enums of CLSID</title>
      <link>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idc-p/1574908#M424</link>
      <description>&lt;P&gt;I usually just slap this code into a module or at the top of my toolfile:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;class ControlCLSID(Enum):
    """ See [Parameter Controls](https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/parameter-controls.htm)
        documentation for more information on parameter controls.
    """
    EXCLUDE_INTERSECT_AND_UNION = '{15F0D1C1-F783-49BC-8D16-619B8E92F668}'
    SLIDER_RANGE = '{C8C46E43-3D27-4485-9B38-A49F3AC588D9}'
    LARGE_NUMBER = '{7A47E79C-9734-4167-9698-BFB00F43AE41}'
    COMPOSITE_SWITCH = '{BEDF969C-20D2-4C41-96DA-32408CA72BF6}'
    MULTILINE = '{E5456E51-0C41-4797-9EE4-5269820C6F0E}'
    MULTIVALUE_CHECKBOX = '{172840BF-D385-4F83-80E8-2AC3B79EB0E0}'
    MULTIVALUE_CHECK_ALL = '{38C34610-C7F7-11D5-A693-0008C711C8C1}'
    FEATURE_LAYER_CREATE = '{60061247-BCA8-473E-A7AF-A2026DDE1C2D}'
    HORIZONTAL_VALUE_TABLE = '{1AA9A769-D3F3-4EB0-85CB-CC07C79313C8}'
    SINGLE_VALUE_TABLE = '{1A1CA7EC-A47A-4187-A15C-6EDBA4FE0CF7}'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there are still some hidden/undocumented ones, so having a version of that maintained by Esri in arcpy proper would be great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also just use a dictionary so you don't need to have the Enum class and you can get some intelisense since it's a constant:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ControlCLSID = {
    'EXCLUDE_INTERSECT_AND_UNION':'{15F0D1C1-F783-49BC-8D16-619B8E92F668}',
    'SLIDER_RANGE':'{C8C46E43-3D27-4485-9B38-A49F3AC588D9}',
    'LARGE_NUMBER':'{7A47E79C-9734-4167-9698-BFB00F43AE41}',
    'COMPOSITE_SWITCH':'{BEDF969C-20D2-4C41-96DA-32408CA72BF6}',
    'MULTILINE':'{E5456E51-0C41-4797-9EE4-5269820C6F0E}',
    'MULTIVALUE_CHECKBOX':'{172840BF-D385-4F83-80E8-2AC3B79EB0E0}',
    'MULTIVALUE_CHECK_ALL':'{38C34610-C7F7-11D5-A693-0008C711C8C1}',
    'FEATURE_LAYER_CREATE':'{60061247-BCA8-473E-A7AF-A2026DDE1C2D}',
    'HORIZONTAL_VALUE_TABLE':'{1AA9A769-D3F3-4EB0-85CB-CC07C79313C8}',
    'SINGLE_VALUE_TABLE':'{1A1CA7EC-A47A-4187-A15C-6EDBA4FE0CF7}',
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jan 2025 17:08:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/add-an-arcpy-class-with-availabes-enums-of-clsid/idc-p/1574908#M424</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-01-13T17:08:36Z</dc:date>
    </item>
  </channel>
</rss>

