Hello all,
I have some vba code which puts a some banner text in to the background of a drawing.
Does anyone know how I can programatically find it again?
What I have so far is as follows:
swModel.EditTemplate
Set swNote = swModel.CreateText2("Under Change", 0.05, 0.05, 0, 0.025, 120)
swModel.EditSheet
Set swAnnotation = swNote.GetAnnotation
swAnnotation.Color = 12566463
Set swTextFormat = swAnnotation.GetTextFormat(0)
swTextFormat.Bold = True
Call swAnnotation.SetTextFormat(0, False, swTextFormat)
I need to be able to find the text again as there may be the need to modify it and I don't really want to have to manually delete it.
Any help is appreciated.
Thanks
SolidworksApi macros