There is now a right-click specific tool to calculate centroids in the Calculate Geometry... into a field. You do not need to use the Field Calculator, but if you did, then you can use a Python expression instead of VBA which is now not supported.
There is now a right-click specific tool to calculate centroids in the Calculate Geometry... into a field. You do not need to use the Field Calculator, but if you did, then you can use a Python expression instead of VBA which is now not supported.
Hi,
I'm not much of a coder. Can you elaborate? Is there some Python code that I cut and paste into the field Calculator?
There is now a right-click specific tool to calculate centroids in the Calculate Geometry... into a field. You do not need to use the Field Calculator, but if you did, then you can use a Python expression instead of VBA which is now not supported.
Hi. I found this tip for the "calculate geometry" useful. Is there a automated way to update a feature class, with multiple polygons, with the centroid calculations, eliminate the need for right clicking lat, long for all the polygons within the feature class? Thanks in advance for any tips/methods!
There is now a right-click specific tool to calculate centroids in the Calculate Geometry... into a field. You do not need to use the Field Calculator, but if you did, then you can use a Python expression instead of VBA which is now not supported.
thank you for this nice guidance. I would like to know after create the X and Y of the centers, how I am able to represent them in the map?
The easiest way to do this is to use the Feature to Point tool and be sure to click on the Inside button. You can find this tool under Data Management tools and then Features. If you have multipart polygons, you might want to run Multipart to Singlepart tool first on the polygons or edit the features using the Explode multipart feature button on the Advanced Editing toolbar.