In Ruby I was doing it using hidden and it worked perfectly.
group.entities.each do |e|
if e.is_a? Sketchup::Edge
edges << e
end
end # group.entities.each
# loop through the edges array and hide each edge
edges.each do |f|
f.hidden = true
end # edges.each
I see in your snippet that you are using SUEdgeSetSoft and SUEdgeSetSmooth - are these working as expected? Do you see the Soft and Smooth property being set?
To use entities you need to use SUDrawingElementSetHidden - since this property is defined on the DrawingElement class.
In the C API you need to cast the SUEdgeRef into a SUDrawingElementRef to call these methods.
SULoopInputEdgeSetHidden is for SUInputGeometry - creating new entities.
No I don’t think they are working.
How do you cast the SUEdgeRef into a SUDrawingElementRef?
I found how you can do it with an Enitity: SUDrawingElementFromEntity