(Forgive the length of this post... It's actually not that long, I just like to use screen shots)
I'm trying to use custom properties to automatically fill in annotations with text generated through design automation in an external program (DriveWorks).
The process is like this:
- I capture a SolidWorks drawing annotation using DriveWorks.
- I use DriveWorks' rule building engine to generate a text string with all of the features that I want to list.
- This text string includes ASCII codes for things like carriage returns, which helps to put each feature on its own line.
- This text string includes ASCII codes for things like carriage returns, which helps to put each feature on its own line.
- DriveWorks over-writes the annotation with the resulting text string, which shows up in the drawing:
The cool part is that I can automatically create notes, and space them out over multiple lines. I can even use char(0149) to create bullet points if I want to:
The problem is that I'm trying to see if I can format these lists notes as an ordered list (like you can do in these forums). I have no idea what sort of text string I'd have to use to get SolidWorks to format a note like that. The only way I know how to format an annotation is to do it manually with the text formatting window.
I could imagine that there is some code, maybe even one simlar to the html code used to create lists in the forum, that can help me out but I don't know what it is. Does anyone else know?
SolidworksDrawings And Detailing