Potential Bug w/ ThreadNotes.Add method in Inv 2012

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In the picture below, the "*" represents a Point2D location on the sheet where the hole note text belongs. That same Point2D object was supplied to the ThreadNotes.Add method. It's not working out very well. I'm getting sparatic results trying out different locations. If I supply the routine with static numbers, it does ok. I'm trying to put the text relative to the center point of the hole. All 45° angles seem to reproduce this problem. The "*" is 0.625cm away from the centerpoint of the hole on a 45° angle. I've tried 1cm through 10cm, all producing the same results as the picture. It appears to be putting the hole note at the center point of the hole. Other angles puts the text in the wrong location but, not in the center of the hole.
Public Overloads Sub AddThreadNote(ByVal _curve As DrawingCurve, ByVal _textLocation As Point2d) ' Create the hole/thread note. Dim _threadNote As HoleThreadNote _threadNote = Drawing.ActiveSheet.DrawingNotes.HoleThreadNotes.Add(_textLocation, _curve) End Sub