Hi all,
I have a curve, I project it to a plane. After handling, I delete it, but function delete returns false => the curve has not been deleted yet.
Here is my code:
Plane wPlane = RhinoDoc.Views.ActiveView.ActiveViewport.ConstructionPlane();
Curve projectedCrv = Curve.ProjectToPlane(myCurve, wPlane);
Guid crvID = projectedCrv.GetType().GUID;
bool result = RhinoDoc.Objects.Delete(crvID, true);
RhinoDoc.Views.Redraw();
result is false. Where was I wrong?
Thanks a lot!