Also, you may have already seen this technique before, but I often use this when dealing with FormattedText scenarios. So when the note is complicated (like most are in this case), I will usually create the note manually, just the way I want it first. Then I use this quick little snippet of code, which will allow me to manually select the note I want to inspect, then it uses an InputBox (instead of a MessageBox.Show or MsgBox) to display the FormattedText to me, so that I can easily select it, then post it back into my code, if needed. This is a little quicker and neater than the text file route. I put the result into the 'default response' section of the InputBox's input variables, instead of into its 'Prompt' section, so that it will be select-able.
Dim oDNote As DrawingNote = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingNoteFilter, "Select a drawing note.")
a = InputBox("", "FormattedText", oDNote.FormattedText)
I use the DrawingNote type variable, because it is the base class for most of the other types of notes, which makes it work for all the other derived types under it.
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.
If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡or you can Explore My CONTRIBUTIONS
Wesley Crihfield

(Not an Autodesk Employee)