Try this one:
1. For Bend note:
Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
Dim oSheet As Sheet = oDoc.ActiveSheet
Dim oView As DrawingView
Dim oCurve As DrawingCurve
Dim oBendNote As BendNote
Dim oViews = oSheet.DrawingViews
'oView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter, "Select a View to give the bend notes.")
For Each oView In oViews
For Each oCurve In oView.DrawingCurves
If (oCurve.EdgeType = Inventor.DrawingEdgeTypeEnum.kBendDownEdge _
Or oCurve.EdgeType = Inventor.DrawingEdgeTypeEnum.kBendUpEdge) Then
oBendNote = oSheet.DrawingNotes.BendNotes.Add(oCurve)
If oBendNote.Text.Contains("DOWN") Then
Dim oText = Replace(oBendNote.Text, "DOWN", "DOWN")
oBendNote.HideValue = True
oBendNote.Text = oText
End If
If oBendNote.Text.Contains("UP") Then
Dim oText = Replace(oBendNote.Text, "UP", "UP")
oBendNote.HideValue = True
oBendNote.Text = oText
End If
End If
Next
Next
2. To Hide the Lines:
Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
Dim oSheet As Sheet = oDoc.ActiveSheet
Dim oView As DrawingView
Dim oCurve As DrawingCurve
Dim oBendNote As BendNote
Dim oViews = oSheet.DrawingViews
'oView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter, "Select a View to hide the bend lines.")
For Each oView In oViews
For Each oCurve In oView.DrawingCurves
If (oCurve.EdgeType = Inventor.DrawingEdgeTypeEnum.kBendDownEdge _
Or oCurve.EdgeType = Inventor.DrawingEdgeTypeEnum.kBendUpEdge) Then
For Each segment As DrawingCurveSegment In oCurve.Segments
segment.Visible = False
Next
End If
Next
Next
Bhavik Suthar