Hi,
I'm writing some code (in VBA) to check over a drawing and ensure that sheet format text has not been altered. In particular, I want to check the notes that are linked to drawing custom properties. I'm currently using SW 2010 sp5.0
For example, one of our custom properties is "Description", and is set to "Spinner". A note in the sheet format where this is to appear would actually contain \$PRP:"Description" but resolves as "Spinner".
My code is looping thru all the Annotaion objects (View.GetFirstAnnotation3, Annotation.GetNext3), picking out the Note types (Set Note = Annotation.GetSpecificAnnotation), but when I use Note.GetText, it only returns the resolved text (e.g. "Spinner"), not the actual embedded code.
I've dug thru all the documentation on the Annotation and Note objects, but there is no mention of how to get the true note text.
So how is this done? TIA.
SolidworksApi macros