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.
Try to use full path for both SetFileName() and SetPenTable() methods. There might be useful information in any exception thrown from the application as well.
Updates on this question. I opened a case with PTC which resulted in 2 new articles in their Knowledge Base and some key word additions to 2 existing articles so they are more likely to be found when searching. These are good articles with that also contain the most important items: code examples
The list of articles follows. The last 2 are new and the first 2 were already created when I was having this issue.