×
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

Batch Export VB Journal Questions

Batch Export VB Journal Questions

Batch Export VB Journal Questions

(OP)

I'm VB illiterate, and had a couple of quick feasibility questions.

I'm using the batch PDF script (cyclePartFiles_pdf.vb) from this thread: http://www.eng-tips.com/viewthread.cfm?qid=292978
I'm very impressed by what it does, and it would help us greatly if I could get it to work for how we detail things.

Is it possible to modify this to work with the master model method of detailing? When I have an assembled drawing file, it will stop scanning the directory for files when it gets to one.

Also is it possible to get this to export DXF either through 2d exchange or the autocad dxf in nx9+?

Thanks in advanced.

RE: Batch Export VB Journal Questions

The journal code has been updated since that previous thread. Here is a link to the newer version; in the zip file there is a journal named "export_pdf_test_all_parts_in_folder.vb" - this is the one that you should try.

www.nxjournaling.com

RE: Batch Export VB Journal Questions

(OP)
Hi Cowski,

Thanks very much for the help. I tried that out on a few designs and it worked perfectly in every case except when the part assembled in to the drawing was named similarly:

This would be the .prt assembled in to the .drw.prt.

Quote:


Export folder: C:\

1 21-22244-10000.drw.prt
C:\size 9 design\21-22244-10000.drw.prt

2 21-22244-10000.prt
open error: File already exists

Accompanied by this error:





RE: Batch Export VB Journal Questions

(OP)
I figured that out, I just got rid of the extra period, and it worked fine. (1000.drw.prt->1000drw.prt)

Now I just need to figure out how to make this work for DWG/DXF.

RE: Batch Export VB Journal Questions

(OP)
Cowski,

Are there any existing journals like the all_parts_in_folder PDF one, but for DXF/DWG?

The closest thing I could find is this thread, but I couldn't get it to work.
http://www.eng-tips.com/viewthread.cfm?qid=393235

RE: Batch Export VB Journal Questions

Quote (mjm744)

Are there any existing journals like the all_parts_in_folder PDF one, but for DXF/DWG?

Not that I know of.

www.nxjournaling.com

RE: Batch Export VB Journal Questions

(OP)
Alright, thanks for the help.

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