Hi;
CRhinoGetObject go;
go.SetCommandPrompt(L"Select curve or surface");
go.SetGeometryFilter(CRhinoGetObject::surface_object |
CRhinoGetObject::CRhinoGetObject::curve_object);
go.EnableGroupSelect(true);
CRhinoGet::result res = go.GetObjects(1, 0);
if (go.CommandResult() != CRhinoCommand::success)
return go.CommandResult();
My code is going to cause error, it’s going to pick edge or a surface of a polysurface, How can I solve these problems ?