Select to view content in your preferred language

Calculate Field Management not working

595
1
09-15-2011 05:09 PM
philiptivel
Emerging Contributor
Currently my HEIGHTAGL_Meters field is populated with values in feet. I'm trying to incorporate the below into a longer string of code but it fails when I add it in. I'm pretty sure it's how I have [HEIGHTAGL_Meters]/ 3.2808399", "VB" written, but I'm not sure. Any help would be appreciated.


arcpy.CalculateField_management(PointFeatures, "HEIGHTAGL_Meters", "[HEIGHTAGL_Meters]/ 3.2808399", "VB")
Tags (2)
0 Kudos
1 Reply
philiptivel
Emerging Contributor
Nevermind. I just entered in the wrong variable
0 Kudos