Merge (Combine) PDFs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi! I would like to Merge PDFs (drawings) with Inventor. I would have, for example, an Assembly which contains parts and / or Sub-Assemblies. I would open the Drawing file of this Assembly and would read each line of the Parts List (probably the largest parts list on the drawing, if there are more Parts Lists) and confirm the existence of a PDF drawing of each part. Next would be to attach to the PDF of this original drawing all the PDFs of Sub-Assemblies and Parts and save it with an additional "Compiled" name or something, in a Compiled folder etc.
It seems difficult to use some kind of PDF compiler with ilogic, though I see it done with VB in Excel, Adobe Acrobat plugins etc.. I think I would prefer doing it from within Inventor, but I may have to jump to VB in Excel if I must.
I started with code from this post here, using the itextsharp.dll. It works well, it compiles a PDF of all PDFs it finds it the given folder and does this for its subfolders also. This it does well, but I have a hard time editing this piece of code to suit what I need, for example even changing not to read from subfolders, to compile only certain files. But I might have to dig in a bit deeper here.
I can read the Parts List, see if each part has PDFs etc. but the compiling I'm struggling with a bit. I'll begin working on it, but wanted to ask in case someone more knowledgeable can give some input.
There are many ways to batch print PDF drawings including this little app drawing porter but for us, we would like to keep PDFs as manufacturing history etc.
Thank you!