Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Batch Export VB Journal Questions

Status
Not open for further replies.

mjm744

Mechanical
Apr 28, 2016
5
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: 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.
 
Replies continue below

Recommended for you

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
 
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.
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:
Capture_mfsdzj.png
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor