Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

pdf export (archive file)

Status
Not open for further replies.

ciach

Mechanical
Sep 23, 2011
19
Hi,
I'm using legendary :) Cowski journal (attached). Excelent job btw.
I have question how to add solution which i find useful:
when I export pdf file, but pdf file with that name exist, it should change file name to pdf_file_name(today_date).pdf, and then write pdf_file_name.pdf .
Any ideas ?
 
Replies continue below

Recommended for you

If you run the journal multiple times on the same day what happens? Do we archive the archive files?
 
Also, are you sure you want to tack on today's date to the previous file, perhaps it would be better to tack on the creation date of the given file?
 
That was fun. I've made this. It copy the previous version of pdf file to C:\ARCH\

Do we archive the archive files? If change was made today, script delete's the previous archive file. (line 48)

are you sure you want to tack on today's date to the previous file? yes
 
Now I'm trying to export (in one move) all drawings to pdfs from assembly.

Simplyfied assembly structure:

Main_Assembly.prt
1st_Part.prt
2nd_Part.prt
Sub_Assembly.prt
1st_SAPart.prt
2nd_SAPart.prt
3rd_Part.prt

And I want to get pdf with the same structure:

Main_Assembly.pdf
1st_Part.pdf
2nd_Part.pdf
Sub_Assembly.pdf
1st_SAPart.pdf
2nd_SAPart.pdf
3rd_Part.pdf

It is possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor