<?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>idea ArcPy GetMessages() or Print in Developers Ideas</title>
    <link>https://community.esri.com/t5/developers-ideas/arcpy-getmessages-or-print/idi-p/925408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In the moment we can't print the messages of the tool CalculateVisualSpecification. The command "print" doesn't work. That is not clear for us, because it is a simple standard command. With the red commands in the script, all messages will be print at the end of the tool. Is it possible to print the messages &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;immediately, so that the user get an information about the progress of the tool?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #3334ca;"&gt;# Process: Calculate Visual Specifications&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;arcpy.CalculateVisualSpecifications_production(fc_list, mdb, "'MGCP_50K :: MGCP TRD 4.3 Visual Specification for MGCP Topographic Map (MTM)'", "RENDER_REPRESENTATIONS", "DISPLAY_LABELS", "PRESERVE")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #e23d39;"&gt;m = arcpy.GetMessages()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #e23d39;"&gt;arcpy.AddMessage (m)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 09:28:40 GMT</pubDate>
    <dc:creator>AnjaSeckel</dc:creator>
    <dc:date>2016-05-30T09:28:40Z</dc:date>
    <item>
      <title>ArcPy GetMessages() or Print</title>
      <link>https://community.esri.com/t5/developers-ideas/arcpy-getmessages-or-print/idi-p/925408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In the moment we can't print the messages of the tool CalculateVisualSpecification. The command "print" doesn't work. That is not clear for us, because it is a simple standard command. With the red commands in the script, all messages will be print at the end of the tool. Is it possible to print the messages &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;immediately, so that the user get an information about the progress of the tool?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #3334ca;"&gt;# Process: Calculate Visual Specifications&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;arcpy.CalculateVisualSpecifications_production(fc_list, mdb, "'MGCP_50K :: MGCP TRD 4.3 Visual Specification for MGCP Topographic Map (MTM)'", "RENDER_REPRESENTATIONS", "DISPLAY_LABELS", "PRESERVE")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #e23d39;"&gt;m = arcpy.GetMessages()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #e23d39;"&gt;arcpy.AddMessage (m)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 09:28:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-ideas/arcpy-getmessages-or-print/idi-p/925408</guid>
      <dc:creator>AnjaSeckel</dc:creator>
      <dc:date>2016-05-30T09:28:40Z</dc:date>
    </item>
  </channel>
</rss>

