Batch Drawing Printer

Batch Drawing Printer

waynehelley
Collaborator Collaborator
463 Views
2 Replies
Message 1 of 3

Batch Drawing Printer

waynehelley
Collaborator
Collaborator

Hi all,

 

I have an i logic program which I use to print off a list of drawings which I input into a spreadsheet before running the program.  The code used to work fine with 'idw's but we have decided to start doing all our drawings as 'dwg's.

 

I have altered for code to accomidate this, but the code won't run.  I'm fairly sure that the line of code which submits the print, attempts to run before the drawings have even opened.

 

Doesn anyone have any suggestions that might fix this?? I have had a similar problem in a VBA project before and have added pauses into the code to allow Inventor to have time to process.  I'm also open to other ideas to batch print drawings.  I have experiemented with using the Task Scheduler before but I didn't have any success.

 

My code is attached. 

Wayne Helley
Inventor 2013 Certified Professional

Autodesk Inventor Professional 2023
Visual Studio 2022
Windows 10 Pro, 64-bit
0 Likes
464 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Another idea would be to use Vanilla Autocad with the VBA extension.  I had a batch print for Inventor dwgs in that.

 

The Inventor dwgs open in Autocad Paper Space.

 

This way non-inventor personel can batch plot.

0 Likes
Message 3 of 3

waynehelley
Collaborator
Collaborator

We recently upgraded to Inventor 2013 and I have just realised that if I highligh DWG files in Windows explorer and right-click-print, the drawings will open in 'raster view' which means you can print multiple drawings a lot quicker.

 

I'm happy just using this method usless anyone has a quick and easy fix for my existing code!

Wayne Helley
Inventor 2013 Certified Professional

Autodesk Inventor Professional 2023
Visual Studio 2022
Windows 10 Pro, 64-bit
0 Likes