Hello everyone.
Scenario:
I have to plot 200 ~ 300 Models from Cel-Libraries into one PDF. Printorganizer does this job. I have a validated list in the form “File-name Model-name”
The workflow:
Source Snipset:
For i = 0 To nAnzahl CadInputQueue.SendKeyin "printorganizer add model " + asLines(i) Next i
The problem:
It is a timing problem. In V8 the creation of the pSet file takes some moments, and then the plottings started. In CE the creation of the pSet file takes nearly as long as the plotting itself. And we are here talking about hours! (Environment contains VPN, etc. this is multiplying the problem).
My Guess:
I found out, the plotorganizer opens each file and checks the existents of file and model after every keyin.
My Question:
Is there any possibility to create the pSet file faster?
Thanks a lot!
Is this about printing, or about your program? there is an entire discussion board dedicated to Programming, and they would be able to help you find any errors or time/memory sinks in your code.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Do you have Variable Print Definitions enabled?
That will speed up the process tremendously.
There are two ways to set this:
Rod WingSenior Systems Analyst
Looks like that bit of code adds the models 1 at a time. If you simply open Print Organizer you can add the active file to create a set of all sheet models fairly quickly.
Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley
Hi MaryB,
I do not expect this has something to do with VBA, because plotting is something that is done with "Key-In" - sequences.
The runtime on my computer could be measured in minutes, not hours. So we are looking for some "configuration" differences. We have already excluded the usual suspects, such as virus scanners and the like, or taken them into account in the measured times.
I will take a closer look to Rod Wing Suggestion
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
Hi Bob Rayner,
thanks a lot, but a manual sorting of 300 models over several files is unfortunately not an option, This list is often automatically recreated, each time with a different selection.