<?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 Re: Suppressing Messages from arcpy.FeatureClassToShapefile_conversion in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64106#M5231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the location. It seems to be deeper than that. Commenting out those lines did not stop the status messages. I resolved it by splitting the script and running from the command line.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 18:49:22 GMT</pubDate>
    <dc:creator>TomNeer</dc:creator>
    <dc:date>2013-02-12T18:49:22Z</dc:date>
    <item>
      <title>Suppressing Messages from arcpy.FeatureClassToShapefile_conversion</title>
      <link>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64104#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the command&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.FeatureClassToShapefile_conversion([workspace + "/townships", workspace + "/township_points", workspace + "/section_points", workspace + "/sections"], proc_fldr)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to convert a temporary workspace out to shapefile. Unfortunately, unlike arcpy.Project_management, arcpy.CopyFeatures_management, arcpy.SelectLayerByLocation_management, and arcpy.MakeFeatureLayer_management, the arcpy.FeatureClassToShapefile_conversion sends the following back to the console. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
D:/DDS/_Sites/PLSSFinder/orders/processing/20130210175117_Neer/20130210175117_Ne
er_temp.gdb/townships Successfully converted:&amp;nbsp; D:/DDS/_Sites/PLSSFinder/orders/p
rocessing/20130210175117_Neer\townships.shp
D:/DDS/_Sites/PLSSFinder/orders/processing/20130210175117_Neer/20130210175117_Ne
er_temp.gdb/townships Successfully converted:&amp;nbsp; D:/DDS/_Sites/PLSSFinder/orders/p
rocessing/20130210175117_Neer\townships_1.shp
D:/DDS/_Sites/PLSSFinder/orders/processing/20130210175117_Neer/20130210175117_Ne
er_temp.gdb/townships Successfully converted:&amp;nbsp; D:/DDS/_Sites/PLSSFinder/orders/p
rocessing/20130210175117_Neer\townships_2.shp
D:/DDS/_Sites/PLSSFinder/orders/processing/20130210175117_Neer/20130210175117_Ne
er_temp.gdb/townships Successfully converted:&amp;nbsp; D:/DDS/_Sites/PLSSFinder/orders/p
rocessing/20130210175117_Neer\townships_3.shp&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the other tools I have to use arcpy.GetMessages() to get this info. I need to suppress this as it is causing problems. I've tried trace back through the arcpy libraries but cannot locate where these messages are being generated. Any idea on how I can suppress this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64104#M5229</guid>
      <dc:creator>TomNeer</dc:creator>
      <dc:date>2013-02-11T17:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Messages from arcpy.FeatureClassToShapefile_conversion</title>
      <link>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64105#M5230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;They are generated from the script you are calling. You can edit the script or create a new one and import it separately. If you edit the script directly I suggest you make a copy just in case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the line to edit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ConversionUtils.gp.AddMessage("%s %s %s" % (inFeatureClass, msgSuccess, outFeatureClass))&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 18:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64105#M5230</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2013-02-11T18:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Messages from arcpy.FeatureClassToShapefile_conversion</title>
      <link>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64106#M5231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the location. It seems to be deeper than that. Commenting out those lines did not stop the status messages. I resolved it by splitting the script and running from the command line.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 18:49:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64106#M5231</guid>
      <dc:creator>TomNeer</dc:creator>
      <dc:date>2013-02-12T18:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Messages from arcpy.FeatureClassToShapefile_conversion</title>
      <link>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64107#M5232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you save the script after you commented out the line? It works in 10.0, in 10.1 it seems the ability to modify system scripts directly has been disabled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 19:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64107#M5232</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2013-02-12T19:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Messages from arcpy.FeatureClassToShapefile_conversion</title>
      <link>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64108#M5233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yep. Saved the script. Commented out that line and the line before. Also tried directly calling the conversion function and skipping the FeatureClassToShapefile function. No go on either. Could be because I am running 10.1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have my processing script running as a Scheduled Task. I already had one running cleanup (deleting processed files after 30 days), so I just merge those together. Does the same thing, just came at it from another angle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the input!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 03:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/suppressing-messages-from-arcpy/m-p/64108#M5233</guid>
      <dc:creator>TomNeer</dc:creator>
      <dc:date>2013-02-13T03:14:51Z</dc:date>
    </item>
  </channel>
</rss>

