I tried to remove ngon from mesh:
Rhino.RhinoApp.WriteLine(mesh.Ngons.Count.ToString());
//mesh.Ngons.RemoveNgons(id);
mesh.Ngons.RemoveAt(0);
Rhino.RhinoApp.WriteLine(mesh.Ngons.Count.ToString());
I printed before number of ngons before removing and after.
I get the same number. Visually ngon is not present anymore. But it counter says differently.
How to remove ngon correctly?