Let's say, I have combined 2 geometries
var combined = Geometry.Combine(geometry1, geometry2, GeometryCombineMode.Intersect, null);
if (combined.Figures.Count > 0)
combined.Figures[0].IsClosed = false; // throws exception
An unhandled exception of type 'System.InvalidOperationException' occurred in WindowsBase.dll
Additional information: Cannot set a property on object 'M0;50,.....z' because it is in a read-only state.
In debugger
geometry1.IsFrozen = false;
geometry2.IsFrozen = false;
combined.IsFrozen = false;
combined.Figures.IsFrozen = false;
combined.Figures[0].IsFrozen = true; // wtf?
What would be the proper way to unfreeze that figure?
I am trying to solve this issue.