Anonymous
in reply to:
Anonymous
12-22-2016
06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-22-2016
06:44 AM
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