<?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 Get feature class/raster name in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/get-feature-class-raster-name/m-p/19590#M1502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what is the best way to get a feature class or raster name from a geoprocessing tool result?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: buffer a feature class, get the name of the buffered feature class and write it to a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason behind this, is to use that output feature class name in a new geoprocessing operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List Rasters and List Feature classes does not work in this case, since I am not interested in all of the Rasters/Fcs in a workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 21:40:27 GMT</pubDate>
    <dc:creator>KatharinaPalffy-Gelfand</dc:creator>
    <dc:date>2012-07-24T21:40:27Z</dc:date>
    <item>
      <title>Get feature class/raster name</title>
      <link>https://community.esri.com/t5/python-questions/get-feature-class-raster-name/m-p/19590#M1502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what is the best way to get a feature class or raster name from a geoprocessing tool result?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: buffer a feature class, get the name of the buffered feature class and write it to a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason behind this, is to use that output feature class name in a new geoprocessing operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List Rasters and List Feature classes does not work in this case, since I am not interested in all of the Rasters/Fcs in a workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 21:40:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/get-feature-class-raster-name/m-p/19590#M1502</guid>
      <dc:creator>KatharinaPalffy-Gelfand</dc:creator>
      <dc:date>2012-07-24T21:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get feature class/raster name</title>
      <link>https://community.esri.com/t5/python-questions/get-feature-class-raster-name/m-p/19591#M1503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Roughly (if using a script) - &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;b = arcpy.Buffer_analysis(input fc, output fc, buff_dist) name = arcpy.Describe(b).name&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then use insert cursor or update cursor to write the name to a table.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 22:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/get-feature-class-raster-name/m-p/19591#M1503</guid>
      <dc:creator>SolomonPulapkura</dc:creator>
      <dc:date>2012-07-24T22:11:05Z</dc:date>
    </item>
  </channel>
</rss>

