What is the correct format for finding perimeter as an expression for arcpy. I was able to use expression !shape.Area! to find the area of my polygon. However when I use the expression !shape.Perimeter! I get invalid expression. I've tried the following expressions;
!shape.Perimeter!@KILOMETERS! !shape.geodesicPerimeter! !shape.geodesicPerimeter@KILOMETERS!
These do not work. I was able to find the perimeter using the attribute table and right clicking and going to calculate geometry. Therefore I know its possible, just I require the syntax for my python code.
My python code that works for area looks like this.
However my python code for perimeter is not working and it looks like this;
I must be missing something, and I've looked at some examples, and have also done, X and Y coordinates, all work, but I cannot get my perimeter to work :(