<?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 Using ArcPy to copy sub types from one layer to another in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400696#M80932</link>
    <description>&lt;P&gt;Is there a way to preserve subtypes in my python script tool?&lt;/P&gt;&lt;P&gt;I can preserve the domains in environment settings when running the tool, but sub types are not copied to the output.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Because my domains rely on subtypes, they do not work correctly in the output unless I manually set up the sub types.&lt;/P&gt;&lt;P&gt;It seems this has been an ongoing request for a few years. Does anyone know any work arounds?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 01:47:22 GMT</pubDate>
    <dc:creator>JMagson</dc:creator>
    <dc:date>2024-03-26T01:47:22Z</dc:date>
    <item>
      <title>Using ArcPy to copy sub types from one layer to another</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400696#M80932</link>
      <description>&lt;P&gt;Is there a way to preserve subtypes in my python script tool?&lt;/P&gt;&lt;P&gt;I can preserve the domains in environment settings when running the tool, but sub types are not copied to the output.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Because my domains rely on subtypes, they do not work correctly in the output unless I manually set up the sub types.&lt;/P&gt;&lt;P&gt;It seems this has been an ongoing request for a few years. Does anyone know any work arounds?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 01:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400696#M80932</guid>
      <dc:creator>JMagson</dc:creator>
      <dc:date>2024-03-26T01:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using ArcPy to copy sub types from one layer to another</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400698#M80933</link>
      <description>&lt;P&gt;In the Rules section of&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/appendices/geoprocessing-considerations-for-subtypes.htm" target="_blank"&gt;Geoprocessing considerations for subtypes—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;lists the tools that support subtypes, all of which are accessed through arcpy or are you looking to not call a tool?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 02:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400698#M80933</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-03-26T02:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using ArcPy to copy sub types from one layer to another</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400729#M80937</link>
      <description>&lt;P&gt;my script doesn't naturally use any of those tools, so sub types are not preserved.&lt;BR /&gt;&lt;BR /&gt;Thanks for the link though it gave me an idea: A work around could be to use &lt;STRONG&gt;export feature&amp;nbsp;&lt;/STRONG&gt;on my input dataset to create a copy, then &lt;STRONG&gt;append&amp;nbsp;&lt;/STRONG&gt;the output from my script tool into it.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 05:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400729#M80937</guid>
      <dc:creator>JMagson</dc:creator>
      <dc:date>2024-03-26T05:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using ArcPy to copy sub types from one layer to another</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400744#M80940</link>
      <description>&lt;P&gt;Yes... they are on the list of supported functions&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 07:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-arcpy-to-copy-sub-types-from-one-layer-to/m-p/1400744#M80940</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-03-26T07:42:52Z</dc:date>
    </item>
  </channel>
</rss>

