Adding circular edge-flange with API

Hello,

I am trying to add an edgeflange to a circular sheet metal by using the function “IFeatureManager.InsertSheetMetalEdgeFlange2”. This function requires a sketch created with the function “IModelDoc2.InsertSketchForEdgeFlange”. The created sketch is a 2D-Sketch. But when I create the edge-flange-feature by hand it uses a 3D-Sketch.

 

Is it possible to create this edgeflange with api at all?

 

SolidworksApi/macros