Message 1 of 5
change text on note
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have found an problem with change text on drawing note trough API.
Situation:
Create leader note in empty drawing
Change text on this note with following code:
Public Sub Run() Dim oDoc As DrawingDocument Set oDoc = ThisApplication.ActiveDocument Dim oNotes As DrawingNotes Set oNotes = oDoc.ActiveSheet.DrawingNotes oNotes(1).FormattedText = "abcd" Debug.Print oNotes(1).Color.ColorSourceType End Sub
Then edit text stnadrda dialog, result is that color of text is changed from bylayer to overwited color.
Strange is that trough api is color still set as bylayer.
I am not able to find how to coerrect it.
Inventor 2013SP1
Thank you