PDF3D + 2D

PDF3D + 2D

Anonymous
Not applicable
809 Views
6 Replies
Message 1 of 7

PDF3D + 2D

Anonymous
Not applicable

Hi,

 

I want to send to our factory 3D Pdfs but I also need the 2D. Is there any way to add the 2D as 2nd page in the 3DPDF Inventor 2017 generates?

 

Thanks.

0 Likes
810 Views
6 Replies
Replies (6)
Message 2 of 7

frederic.vandenplas
Collaborator
Collaborator
Of course you can merge PDF files after conversion. There is a great free pdf library available called itextsharp if you do a Google search you can find that easily. If you need more code I'll provide a .Net solution tomorrow. I don't see any possibility within inventor api
If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
Message 3 of 7

Anonymous
Not applicable

Hi, thanks for your answer.

 

Can you help me with the .NET code? 

0 Likes
Message 4 of 7

frederic.vandenplas
Collaborator
Collaborator

@Anonymous attached you can find a simple program that merges pdf files

you can adapt it the way you want, if you need any help let me know

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
Message 5 of 7

MechMachineMan
Advisor
Advisor

Hi @frederic.vandenplas,

 

Do you know, is it possible to use the iTextSharp.dll through vba? I'm looking to do something similar and just use an excel file to load the files to merge, then run a sub to merge them in the specified order.


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes
Message 6 of 7

frederic.vandenplas
Collaborator
Collaborator

@MechMachineMan no, i don't think you can use that for vba because it is written to use it in .NET environment. (did not look further, maybe there are other possibilities that i'm not aware of)

 

But you can pass parameters to a console application, attached you can find a simple example

 

start cmd and type path_to_exe_file\ConsoleApplication1.exe string1 string2

The only thing to do here is place code that accepts the parameters and execute it without any user interaction to merge your pdf files

 

 

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
0 Likes
Message 7 of 7

WilliamBellE6H7K
Participant
Participant
please help with that
0 Likes