×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Strange thing happening with Batch PDF code

Strange thing happening with Batch PDF code

Strange thing happening with Batch PDF code

(OP)

I finally had a moment to try this journal code, since my leader isnt working today clown It does seem to work, but there are a couple things happens that I dont understand.

1) When in TeamCenter, even if I choose a folder to export the PDF files to, it still automatically places them directly to "My Documents".

2) When I open a tool on NX9, the first time I run this journal, it only creates one or two PDF files. It seems it only creates a PDF for the main assy and maybe one component. Sometimes only the main assy. But if I delete the files it created and run it again, it will then create PDF's for all files with DWG sheets.

Neither of these are a huge deal. They are easy enough to live with. But if it is a simple change to fix either or both of these problems, it would be appreciated.

Another thing I noticed that is not a problem but I was wondering if it is easy to change, is that it will run PDF files for ALL files with drawing sheets. How hard would it be to make it only create PDF for files that start with particular letters? Like MA & MB. This would allow us to create PDF files for only files we create and not for all of the standard components from NAAMS and other companies.

Again, none of these are extremely important. the code works and it would be easy enough to just run it twice or delete the files we do not want. But if it is not difficult to fix these problems, it would definitely be better.


RE: Strange thing happening with Batch PDF code

The code seems to be working for me; but then again, I'm not currently using Teamcenter...

www.nxjournaling.com

RE: Strange thing happening with Batch PDF code

I have just tried this in Teamcenter and I am getting similar errors.

Cowski, I have emailed my log file to you.

Mike Hyde
www.astonmartin.com
NX8.5 with TC9.1

RE: Strange thing happening with Batch PDF code

Thanks to Mike's log file, I was able to fix the issue where the files were being saved to MyDocs regardless of your chosen folder.

updated code

www.nxjournaling.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources