I think I am doing somthing wrong. I am trying to hide the edges of my model using this method, but it does not seem to be working.

```
SUEntitiesGetNumEdges(entities, false, &edgeCount);
std::vector<SUEdgeRef> edges(edgeCount);
SUEntitiesGetEdges(entities, false, edgeCount, &edges[0], &edgeCount);
for (int i=0; i < edgeCount; i++)
{
SUEdgeRef edge = edges[i];
SUEdgeSetSoft(edge, true);
SUEdgeSetSmooth(edges[i], true);
}
```

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
```