I'm working with the model builder in ArcMap 10.4.1 and I need to do some geometry calculation using the fields ArcMap creates. I am doing this with the tool 'calculate field' and my expression is:
[SHAPE_Length] / [SHAPE_Area]
But some of my feature classes have the geometry fields named as SHAPE_Length and SHAPE_Area and other feature classes as GEOM_LENGTH and GEOM_AREA. Because of the different names I cannot use an iterator to go through all my different feature classes because it will give an error when the geometry is stored as GEOM_Length rather then SHAPE_Length. Arcmap keeps naming the geometry field as GEOM_Length as in the original feature class even after altering the data or making a copy. I am working from a file geodatabase.
How can I force Arcmap to name all the geometry fields in the same way?