Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: Anonymous

Hi, i have no problem with getting the results that i want from a drawingview and the actual bend (this is a snippet from my .NET code)

I hope this is what you are looking for!

 

 If oDrawViewCurve.EdgeType = DrawingEdgeTypeEnum.kBendDownEdge Or oDrawViewCurve.EdgeType = DrawingEdgeTypeEnum.kBendUpEdge Then

                Dim oEdge As Edge = oDrawViewCurve.ModelGeometry
                Dim oSMDef As SheetMetalComponentDefinition = oEdge.Parent.ComponentDefinition

                Dim oSmStyleBendradius As Object = oSMDef.ActiveSheetMetalStyle.BendRadius
               
                Dim oFlatPattern As FlatPattern = oSMDef.FlatPattern

                Dim oBendResult As FlatBendResult = oFlatPattern.FlatBendResults.Item(oEdge)
End if