<?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 Searching for feature classes using Python script in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455586#M4989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering if it's at all possible to create a python script that can search for a particular feature classe in all mxds within a folder and all its subfolders. I would also like it to create an output .txt report similar to what MultiMXDReport.py does, but it would create a list of mxds that contain just the specified feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I specify "Transmission_Main" as the feature class and "T:\\Maps\" as the folder path, it would create a list of all mxds within "T:\\Maps\" that contain the "Transmission_Main" feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm very new to Python, and any thoughts or clues to put me in the right direction would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 16:13:20 GMT</pubDate>
    <dc:creator>KevinHigh</dc:creator>
    <dc:date>2011-03-08T16:13:20Z</dc:date>
    <item>
      <title>Searching for feature classes using Python script</title>
      <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455586#M4989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering if it's at all possible to create a python script that can search for a particular feature classe in all mxds within a folder and all its subfolders. I would also like it to create an output .txt report similar to what MultiMXDReport.py does, but it would create a list of mxds that contain just the specified feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if I specify "Transmission_Main" as the feature class and "T:\\Maps\" as the folder path, it would create a list of all mxds within "T:\\Maps\" that contain the "Transmission_Main" feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm very new to Python, and any thoughts or clues to put me in the right direction would be greatly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 16:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455586#M4989</guid>
      <dc:creator>KevinHigh</dc:creator>
      <dc:date>2011-03-08T16:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for feature classes using Python script</title>
      <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455587#M4990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried the Find Data Source sample?&amp;nbsp; I think it does exactly what you want.&amp;nbsp; You mention the multi-mxd reporter tool so I assume you are familiar with the arcpy.mapping sample script tools on the resource center.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, try the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=A910AB18-1422-2418-3418-3885D388EF60"&gt;http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=A910AB18-1422-2418-3418-3885D388EF60&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 14:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455587#M4990</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-03-09T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for feature classes using Python script</title>
      <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455588#M4991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. That &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;is&lt;/SPAN&gt;&lt;SPAN&gt; the tool I was looking for. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My only problem now is that the feature classes I'm interested in are stored on a 9.3 version SDE. Is there any way to get around this? I'm thinking the answer is no, so I'll just have to wait until will upgrade it to 10. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 18:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455588#M4991</guid>
      <dc:creator>KevinHigh</dc:creator>
      <dc:date>2011-03-15T18:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for feature classes using Python script</title>
      <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455589#M4992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script must run on a 10.0 machine because arcpy.mapping is new at 10 but it should not matter that the feature classes are coming from a 9.3 SDE source. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let us know if there is a problem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 14:11:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455589#M4992</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-03-16T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for feature classes using Python script</title>
      <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455590#M4993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The feature classes I'm interested in are stored on a 9.3 SDE source. When I run the tool to find feature classes stored on this SDE, the output text file shows that no sources were found - even though I am running it on maps that do contain the feature classes I am searching for. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the tool works perfectly when I run it on maps containing feature classes on our 10 SDE. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to explain why this would be happening? Am I just missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 23:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455590#M4993</guid>
      <dc:creator>KevinHigh</dc:creator>
      <dc:date>2011-03-17T23:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for feature classes using Python script</title>
      <link>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455591#M4994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running 10.0 SP1.&amp;nbsp; The was reported a long time ago but I believe it was not reproducible using SP1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 13:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/searching-for-feature-classes-using-python-script/m-p/455591#M4994</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-03-18T13:51:32Z</dc:date>
    </item>
  </channel>
</rss>

