hi
- User
hi
- Assistant
Hello! How can I assist you today?
- User
int filterobject = 4; var Object = EIGetRihnoTl.GetAllGeomatry("Curve Seçin", filterobject, false, true, true, false, false); SelectedCurve = (Curve)Object[0].Object().Geometry;
SelectedCurve = frm.SelectedCurve; bool IsArc = SelectedCurve.TryGetArc(out Arc arc); bool IsCircle = SelectedCurve.TryGetCircle(out Circle circle); bool IsPolyLine = SelectedCurve.TryGetPolyline(out Polyline pLine);
double radius = 0; if (IsArc) radius = arc.Radius; if (IsCircle) radius = circle.Radius;
this is not working and its not general for all kind of types that might have radius and for now always returns 0 because the boolean are always false
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.