Hi all, I am getting this exception on occasion when using VolumeMassProperties.
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at UnsafeNativeMethods.ON_Geometry_VolumeMassProperties(IntPtr pConstGeometryArray, Boolean bVolume, Boolean bFirstMoments, Boolean bSecondMoments, Boolean bProductMoments, Double relativeTolerance, Double absoluteTolerance)
1 geometry, Boolean volume, Boolean firstMoments, Boolean secondMoments, Boolean productMoments) at Rhino.Geometry.VolumeMassProperties.Compute(IEnumerable1 geometry)
— End of inner exception stack trace —