I have just generated a BSplineCurve with GeomAPI_Interpolate and have converted this BSplineCurve into a TopoEdge with BRep_Builder.
Now I would like to add this TopoEdge to an already existing TopoShape or TopoCompound.
I tried to use the Add from BRep_Builder but I think that this might only work with Shapes.
Currently my code looks like this:
But with this code I get an exception and the programm is halted at the free function :(
Could someone help me out on how I have to do it the right way to get some topos grouped together?
Thx in advance.