PDA

View Full Version : Load files from excell


Leon
04-05-2007, 06:06 AM
Does anyone know how to get the Cad viewer to loop search in Excel for a list of files names and then open them and print them in the cad viewer ?

C:\Progra~1\CADVie~1\viewer5.exe /p /pr="hp LaserJet 1012 Series Driver" S:\ELS\AUTOCA~1\m\miller~1\ 701968 .DWG
This will work but it takes to long to keep coping, Thanks, Leon

GuthCAD Software Support
04-05-2007, 07:35 PM
Hi,

Yes, interesting question!

Basically if I understand you correcty you are looking for some sort of preprocessor to extract a list of drawing file names and feed them one by one to CAD Viewer so that CAD Viewer can print the drawings.

It would be a specialised requirement to expect CAD Viewer itself to search an Excel spreadsheet and extract the drawing file names, and so not something that we would build into CAD Viewer. However I think that there may be a case to build in some functionality to pass a 'batch command file' to CAD Viewer. The batch command file may simply be a text file containing a list of drawings (to print or view.) So I have added this item to our development requests list for consideration.

If it does get implemented then it would be up to you to extract the list of drawing names from Excel and export them to a text file. (And then the resultant text file could be passed to CAD Viewer for processing.)

best regards
Software Support