I have now 3 rules on this site to automatically generate dimensions. (Overall dimensions, Hole position and Bend dimensions) At the moment I can't think of any more types of dimensions I can generate automatically. But there is something left that we can generate.
As you might have guessed from the title I'm talking about generating bend notes. To be honest this is the simplest rule of them all. There is a VBA example in the help files that shows how you can add a bend note to a line. The only thing we need is a list of all bed curves. And use it on the code in the help example file. (Also we need to convert it to VB.net code because you should not use VBA.) Nothing I haven't done before. Anyway, This rule is so short that I can't say anything useful about it. I hope the rule speaks for itself.
Dim view As DrawingView = ThisApplication.CommandManager.Pick( SelectionFilterEnum.kDrawingViewFilter, "Select a drawing view") If (view Is Nothing) Then Return Dim bendCurves = view.DrawingCurves.Cast(Of DrawingCurve). Where(Function(curve) curve.EdgeType = DrawingEdgeTypeEnum.kBendDownEdge Or curve.EdgeType = DrawingEdgeTypeEnum.kBendUpEdge).ToList() Dim bendNotes = view.Parent.DrawingNotes.BendNotes For Each curve As DrawingCurve In bendCurves bendNotes.Add(curve) Next