Is it possible to calculate the centroid of a polygon using field calculator? I am using model builder, and have an empty longitude and latitude field I need to populate (with a goal of identifying the centroid for when the model later converts the polygon to a point shapefile).
I am currently using (!shape.extent.YMax! + !shape.extent.YMin!) / 2 & (!shape.extent.XMax! + !shape.extent.XMin!) / 2 to calculate lat long values, but of course this does not result in the center of the polygon unless it is a square.