×
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

Journal: Retrieve currently displayed sheet

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

I think this might help you out.

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

Hey Guys,
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

Ooops, I meant to say "batch" export to PDF.

James

RE: Journal: Retrieve currently displayed sheet

hi

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

Thanks lklo for the reply & the vb attachment.
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

hello jkcone

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

Thanks for your reply lklo, I will look again.
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

hello "albates1972".

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
 

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