- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @Guthery1. First of all, there is no way to specify color of text within the 'FormattedText' portion of the code. We can modify Font, Font Size, Bold, Italic, Underline, & Strikethrough with FormattedText though. Second, you have not declared a variable to capture the new GeneralNote object that your code is creating with the GeneralNotes.AddFitted method. If you had declared a variable for holding a GeneralNote, then set the value of that variable with that GeneralNotes.AddFitted method, then you could have modified the color of the text after it was created, using its GeneralNote.Color property. And, the Color object is a 'transient' object (just used for temporarily transferring organized data), so you can create a new one from the TransientObjects object, using its TransientObjects.CreateColor method. You can find the TransientObjects right under the main application (Application.TransientObjects ).
Wesley Crihfield
(Not an Autodesk Employee)