<?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 Batch Rename Feature Classes? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405652#M31908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a simple script to batch rename 100 feature classes all in the same geodatabase?&amp;nbsp; I want to add the word "County" to each Feature Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry if this seems like a silly question, I'm pretty new to python! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 10:23:24 GMT</pubDate>
    <dc:creator>LauraKonwinski</dc:creator>
    <dc:date>2013-10-23T10:23:24Z</dc:date>
    <item>
      <title>Batch Rename Feature Classes?</title>
      <link>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405652#M31908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a simple script to batch rename 100 feature classes all in the same geodatabase?&amp;nbsp; I want to add the word "County" to each Feature Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry if this seems like a silly question, I'm pretty new to python! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 10:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405652#M31908</guid>
      <dc:creator>LauraKonwinski</dc:creator>
      <dc:date>2013-10-23T10:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Rename Feature Classes?</title>
      <link>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405653#M31909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pretty straight forward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;List Feature Classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018v00000018000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//018v00000018000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rename&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000056000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000056000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405653#M31909</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2013-10-23T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Rename Feature Classes?</title>
      <link>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405654#M31910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Pretty straight forward.&lt;BR /&gt;&lt;BR /&gt;List Feature Classes&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018v00000018000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//018v00000018000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rename&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000056000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000056000000&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying that but receiving an error.&amp;nbsp; What would the script be to add "County" to the end of each feature class name?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; Like I said, VERY new at this!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405654#M31910</guid>
      <dc:creator>LauraKonwinski</dc:creator>
      <dc:date>2013-10-23T12:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Rename Feature Classes?</title>
      <link>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405655#M31911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Set your environment to your geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Iterate through list of feature classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. For each iteration rename the particular feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an example of using string formatting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;new_name = '{0}_county'.format(fc)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-rename-feature-classes/m-p/405655#M31911</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2013-10-23T12:39:23Z</dc:date>
    </item>
  </channel>
</rss>

