I am using attribute rules to automatically update cells in an attribute table. I need to auto-calculate the length and width of polygons (respectively) as the user creates them. Is there a way to do this using math/geometry functions in Arcade? It would work similarly to the tool Minimum Bounding Geometry that can calculate length and width of polygons.
I have no idea where to start, im new with scripting. Does expression builder use python or strictly arcade? Thank you in advance.
what do you mean by length and width?
Getting this done as you enter the data is probably not a good idea since you really need
rectangle by width from
Minimum Bounding Geometry (Data Management)—ArcGIS Pro | Documentation