AnsweredAssumed Answered

Set annotation text color to default via macro

Question asked by David Dewey on Dec 13, 2016

Looking at the Solidworks documentation for setting color of the text, I've found the following. Which is great, but what I would like to do is set the color as the document default. Is anyone aware of how to accomplish this? I tried to record a macro but could not find it.

 

' Change the color of the selected note to red and bold

' all of the text ' and remove all italics and underlining

swNote.PropertyLinkedText = "<FONT color=0x000000ff><FONT style=B>This is a test of formatting a note via the API"

Outcomes