How to remove the circle line

I draw a circle with ruby, but how do I delete it with ruby?

If you used Sketchup::Entities#add_circle it should have returned an Array of Sketchup::Edges. You can supply those edges to Entities#erase_entities to delete them.

Thanks, but I want to draw a circular surface, but I only want to keep the circular surface and not the line segments of the circle

In SketchUp you can’t have a face without having edges defining the bounds of that face. You can hide them though by setting their visibility to false, but deleting them deletes the face too.

Thank you!