<?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: Calculate Field - VB to Python in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45332#M1616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you don't declare variables as any specific data type in VB.net. probably work just dropping the "as double" part. The python alternative involves way less typing.&amp;nbsp; Here is Chris Fox's crash course in python geometry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have passed along this idea for a future topic/article in some of our publications. I think a brief explination of what is happening in my field calculator expression will really help you in the future if you need to work with Geometries in the field calculator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you use the expression !Shape! in the field calculator you are returning the Geometry of the feature, because the geometry is stored in the Shape field. Through python we have defined a Geometry Class and this class defines the properties and methods availble to this Geometry Object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the help topic link for the Geometry Class you will see a section for Properties. Under this section you will see properties like, area, extent, lastPoint, pointCount, etc. Each property has a brief description and a data type. To return a reference to the value in these properties you just add a "." after the reference to the Geometry, !Shape!, and then type the property name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.area &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;##returns the area value expressed as a date type double&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.pointCount &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;##returns the number of points/vertices in the feature expressed as a date type Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now notice how some properties have a data type of Point or Extent. If you look in the tree view of the same help topic you will find corresponding topics for the Point Class or Extent Class. For example take the property firstPoint that has a data type of Point. What this means is if we write something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.firstPoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will return a reference to the Point who has its own properties which are defined within the Point Class help topic. If you look in that help topic you will see the following properties, ID, X, Y, Z, M. So finally if we write the expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.firstPoint.Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape! returns the Geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;firstPoint returns the first Point in the Geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z returns the Z value of the first Point in the Geometry as a Double&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you apply this knowledge in navigating the help documentation you can really utilize the full functionality of working with Geometries in the field calculator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris Fox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Development Technical Lead&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;User Advocacy Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Support Services&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Feb 2011 16:00:11 GMT</pubDate>
    <dc:creator>MichaelStead</dc:creator>
    <dc:date>2011-02-13T16:00:11Z</dc:date>
    <item>
      <title>Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45331#M1615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Calculate Field module in a Model that used the following VB expression in ArcGIS v9.0. Now that I am trying to run this same model in V10 it does not work??&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim Area as double&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pArea as IArea&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set pArea = [shape]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Area = pArea.area/10000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea why it does not work?&amp;nbsp; Should I be converting to Python so that it works in v10?&amp;nbsp; Any insight on how to convert the above code to python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Feb 2011 13:28:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45331#M1615</guid>
      <dc:creator>AliceDeschamps1</dc:creator>
      <dc:date>2011-02-13T13:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45332#M1616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you don't declare variables as any specific data type in VB.net. probably work just dropping the "as double" part. The python alternative involves way less typing.&amp;nbsp; Here is Chris Fox's crash course in python geometry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have passed along this idea for a future topic/article in some of our publications. I think a brief explination of what is happening in my field calculator expression will really help you in the future if you need to work with Geometries in the field calculator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you use the expression !Shape! in the field calculator you are returning the Geometry of the feature, because the geometry is stored in the Shape field. Through python we have defined a Geometry Class and this class defines the properties and methods availble to this Geometry Object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the help topic link for the Geometry Class you will see a section for Properties. Under this section you will see properties like, area, extent, lastPoint, pointCount, etc. Each property has a brief description and a data type. To return a reference to the value in these properties you just add a "." after the reference to the Geometry, !Shape!, and then type the property name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.area &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;##returns the area value expressed as a date type double&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.pointCount &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;##returns the number of points/vertices in the feature expressed as a date type Integer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now notice how some properties have a data type of Point or Extent. If you look in the tree view of the same help topic you will find corresponding topics for the Point Class or Extent Class. For example take the property firstPoint that has a data type of Point. What this means is if we write something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.firstPoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will return a reference to the Point who has its own properties which are defined within the Point Class help topic. If you look in that help topic you will see the following properties, ID, X, Y, Z, M. So finally if we write the expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.firstPoint.Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape! returns the Geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;firstPoint returns the first Point in the Geometry&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Z returns the Z value of the first Point in the Geometry as a Double&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you apply this knowledge in navigating the help documentation you can really utilize the full functionality of working with Geometries in the field calculator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris Fox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Development Technical Lead&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;User Advocacy Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Support Services&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Feb 2011 16:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45332#M1616</guid>
      <dc:creator>MichaelStead</dc:creator>
      <dc:date>2011-02-13T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45333#M1617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The following expression worked using Python.&amp;nbsp; This calculates Area in hectares from a file in UTM projection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape!.area/10000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 22:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45333#M1617</guid>
      <dc:creator>AliceDeschamps1</dc:creator>
      <dc:date>2011-02-18T22:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45334#M1618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcEditor 10.0 SP2, Windows XP Pro SP3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We will return a reference to the Point who has its own properties which are defined within the Point Class help topic. If you look in that help topic you will see the following properties, ID, X, Y, Z, M. So finally if we write the expression:&lt;BR /&gt;&lt;BR /&gt;!Shape!.firstPoint.Z&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is similar - I'm attempting to get the X,Y values of a shape using "Calculate Field" in a model which converts an annotation geodatabase feature into a shapefile point file.&amp;nbsp; The calculate field properties are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Input Table: Work_anno&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Field Name: Longitude&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Expression: Output&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Expression Type: VB&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Code Block: (as follows...)&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Dim Output As Double
Dim pArea As IArea
Set pArea = [Shape]
Output = pArea.Centroid.X
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having trouble converting this to an "Expression Type" of PYTHON or PYTHON_9.3 - Using something like the following in "Expression" or the "Code Block":&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
!SHAPE!.firstPoint.Z
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm obviously missing the correct syntax.&amp;nbsp; Help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:45:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45334#M1618</guid>
      <dc:creator>BruceLang</dc:creator>
      <dc:date>2021-12-10T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45335#M1619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Additional Information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following knowledge base article describes the procedure &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/33027" rel="nofollow noopener noreferrer" target="_blank"&gt;HowTo: Convert an annotation feature class to a shapefile&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the following error is displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Executing (Calculate Field (2)): CalculateField "\\hcgis1\gis\Arc\Projects\WTH\Work_Area\Work Data.gdb\Work_Anno" Longitude Output VB "Dim Output As Double
Dim pArea As IArea
Set pArea = [Shape]
Output = pArea.Centroid.X"
Start Time: Wed Dec 28 09:08:27 2011
&lt;SPAN style="color:&amp;quot;green&amp;quot;;"&gt;General error executing calculator.&lt;/SPAN&gt;
&lt;SPAN style="color:&amp;quot;red&amp;quot;;"&gt;ERROR &lt;SPAN style="color: &amp;quot;blue&amp;quot;; text-decoration: underline;"&gt;999999&lt;/SPAN&gt;: Error executing function.
Expected end of statement
Failed to execute (Calculate Field (2)).&lt;/SPAN&gt;
Failed at Wed Dec 28 09:08:30 2011 (Elapsed Time: 3.00 seconds)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same error displays when attempting the calculation; (1) directly on the field (i.e. Field Calculator) in an edit session, and (2) With the "Calculate Field" tool in my model - FYI the model "used" to work at 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45335#M1619</guid>
      <dc:creator>BruceLang</dc:creator>
      <dc:date>2021-12-10T21:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45336#M1620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Additional Information:&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;The following knowledge base article describes the procedure&amp;nbsp;&amp;nbsp; &lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/33027" rel="nofollow noopener noreferrer" target="_blank"&gt;HowTo: Convert an annotation feature class to a shapefile&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;But the following error is displayed.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Executing (Calculate Field (2)): CalculateField "\\hcgis1\gis\Arc\Projects\WTH\Work_Area\Work Data.gdb\Work_Anno" Longitude Output VB "Dim Output As Double
Dim pArea As IArea
Set pArea = [Shape]
Output = pArea.Centroid.X"
Start Time: Wed Dec 28 09:08:27 2011
&lt;SPAN style="color:&amp;quot;green&amp;quot;;"&gt;General error executing calculator.&lt;/SPAN&gt;
&lt;SPAN style="color:&amp;quot;red&amp;quot;;"&gt;ERROR &lt;SPAN style="color: &amp;quot;blue&amp;quot;; text-decoration: underline;"&gt;999999&lt;/SPAN&gt;: Error executing function.
Expected end of statement
Failed to execute (Calculate Field (2)).&lt;/SPAN&gt;
Failed at Wed Dec 28 09:08:30 2011 (Elapsed Time: 3.00 seconds)
&lt;/PRE&gt; &lt;BR /&gt; &lt;BR /&gt;The same error displays when attempting the calculation; (1) directly on the field (i.e. Field Calculator) in an edit session, and (2) With the "Calculate Field" tool in my model - FYI the model "used" to work at 9.3.1.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Thanks in advance.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You cannot do geometry calculations with VB Script at ArcGIS 10. VBA is no longer available in the field calculator and shape variables are not supported in VB Script. (VBA and VB Script are similar, but have key differences that prevent you from doing geometry calculations with VB Script at ArcGIS 10).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to convert to Python to do geometry calculations in the field calculator. Because you are using Centroid you cannot access the coordinate with the FirstPoint option. For Area based objects you probably need to use Centroid (at least for something odd like Annotation, it might work with a true Polygon, which has a starting point).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;!Shape.Centroid.X!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000004m000000" rel="nofollow noopener noreferrer" target="_blank"&gt;See the field calculator help here for more on geometry calculation in ArcGIS 10.&lt;/A&gt;&lt;SPAN&gt; Also the Python syntax was incorrect in the post above. The exclamations points go around the Shape qualifiers as shown above. So !Shape.FirstPoint.X! might also work, but it would not return the same result as your original VBA calculation, since that is returning the Centroid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:45:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45336#M1620</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-10T21:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field - VB to Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45337#M1621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;BR /&gt;!Shape.Centroid.X!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000004m000000"&gt;See the field calculator help here for more on geometry calculation in ArcGIS 10.&lt;/A&gt;&amp;nbsp; Also the Python syntax was incorrect in the post above.&amp;nbsp; The exclamations points go around the Shape qualifiers as shown above.&amp;nbsp; So !Shape.FirstPoint.X! might also work, but it would not return the same result as your original VBA calculation, since that is returning the Centroid.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Excellent!&amp;nbsp; Using &lt;/SPAN&gt;&lt;STRONG&gt;!Shape.Centroid.X!&lt;/STRONG&gt;&lt;SPAN&gt; for longitude, and &lt;/SPAN&gt;&lt;STRONG&gt;!Shape.Centroid.Y!&lt;/STRONG&gt;&lt;SPAN&gt; for latitude work perfectly.&amp;nbsp; Now the calculate field properties (for longitude) in my model are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Input Table: Work_anno&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Field Name: &lt;STRONG&gt;Longitude&lt;/STRONG&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Expression: &lt;STRONG&gt;!Shape.Centroid.X!&lt;/STRONG&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Expression Type: &lt;STRONG&gt;PYTHON_9.3&lt;/STRONG&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Code Block: &lt;STRONG&gt;(empty)&lt;/STRONG&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Now my geoprocessing model for exporting an annotation feature to a points shapefile works as before. :cool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 17:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/calculate-field-vb-to-python/m-p/45337#M1621</guid>
      <dc:creator>BruceLang</dc:creator>
      <dc:date>2011-12-28T17:23:27Z</dc:date>
    </item>
  </channel>
</rss>

