Closed curve returning negative area


I’m using a text field to calculate a curve’s area. In general this works but I’ve found a condition where it is reporting a negative area. The curve is closed and planar. Any ideas what would be causing this?

Negative area.3dm (32.1 KB)

I assume you are using DimArea, which returns a negative value. Area returns a positive value.

It may be connected with the curve being a polycurve of several arcs. If I rebuild it as a single, non-rational curve DimArea returns a positive value.

Hi Paul -

Thanks, I reported that as RH-68956.