Journal: Retrieve currently displayed sheet
Journal: Retrieve currently displayed sheet
(OP)
I have written a journal that automates exporting .pdf drawings to a specified location. As of now, I just export the "current display" (doing a view -> fit beforehand). However, I need to revise this to export the sheet, rather than the display. How can I revise this to automatically export a .pdf of the currently displayed sheet? I don't want to have to prompt an input box to type the name of the desired sheet. Thanks in advance.





RE: Journal: Retrieve currently displayed sheet
This Journal file was writen by Cowski, I think. I modified it a little to suit our needs by removing "wip" at the end of our currently worked on dwgs. But this modification will have no affect on any other files that you have.
If you have 2 sheets, you will get a multiple page PDF.
Try it out, we use this file all the time.
Allen
RE: Journal: Retrieve currently displayed sheet
I need to "batch" export the drawings of all components in an assembly or folder. Do you know of a way to do this?
NX6
James
RE: Journal: Retrieve currently displayed sheet
James
RE: Journal: Retrieve currently displayed sheet
I have made a journal to automate pdf export.
Just run and read.....
(be sure where AcroRd32.exe is located - must be placed in
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe),
or edit last section in *.vb file
-------------------------------------------
Feature´s:
1.export of only current drafting in workpart
2.exported pdf always stored in the folder where current NX part is.
3.name of pdf is "NX partname" AND "drafting name"
4.pdf is opening after export
RE: Journal: Retrieve currently displayed sheet
I ran into a problem though. I'm running Adobe 9.0 & can not find a file named "AcroRd32.exe" anywhere on my hard drive.
Do you know what file I should look for with 9.0 ?
Jmaes
RE: Journal: Retrieve currently displayed sheet
1.Are you sure that it is Adobe "READER" you have installed.?
2.Are you sure that your adobe installation dir is in
"Program Files" and not "Programs"
3.If you not have the "READER" installed,but someone other adobe application, you have to find that Acro**.exe ,that can open the pdf file.
4.It is indifferent where your Acro**.exe file is placed.
5.Be sure to have the correct entire path to that exe file.
I´M sure that you can figure it out.
lklo
RE: Journal: Retrieve currently displayed sheet
I deleted the 3rd through the 8th lines from the end. It works nicely for a single export situation. I really didn't want it to launch Adobe every time anyway.
My main objective is to do a "batch" export to PDF.
James
RE: Journal: Retrieve currently displayed sheet
In this thread you uploaded a modified journal of script
,that original was build to export dwg via cgm to dxf.
Do you still have the original - Can I have a copy .
If you wish - I have written a nice script to generate pdf,
you can have it .
lklo
RE: Journal: Retrieve currently displayed sheet