Exporting drawing text to a text file?
Has anyone come up with a clever way to export drawing text to a test file? I am looking to automate this for a lot of drawings.
Right now I am exporting it to a cgm (which is just a text file) and then parsing it to get the text out but that is a cumbersome process. The other way I know how to do it is to save as a PDF and then open the pdf in word and save the word as a text file. Unfortunately I don't have access to the version of word that can open PDFs. I know that acrobat can save to a text file too but I can't automate that with scripting.
I also thought about using the find tool and then looping through each note and saving it separately but this doesn't work for all of the text on the drawing.
I am also aware that the APIs could do this, but I am not knowledgeable enough to write the code to have the APIs do it.
Anyone else have any other ideas? I am using Creo 2
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
