I am trying to make an attribute rule that automatically calculates the length of the longest side of a polygon, but having difficulty figuring it out.
Polygon will always be a 4 sided rectangle, but may be oriented in any direction.
Does any know of a way to accomplish this as an attribute rule?
Basically, need the X value here:

Thanks for any help,
R_