iLogic - Made PDF w/ REV

iLogic - Made PDF w/ REV

Anonymous
Not applicable
696 Views
2 Replies
Message 1 of 3

iLogic - Made PDF w/ REV

Anonymous
Not applicable

Hi Everyone,

 

We have successfully used the code w/in Curtis's iLogic code located here: http://inventortrenches.blogspot.com/2011/07/ilogic-to-save-pdf-files-to-new.html.

 

It appears to no longer work now w/ Inventor 2018.  I receive the error "Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))" 

 

Any ideas or suggestions??

 

Thanks!

 

Todd Peterson

 

0 Likes
Accepted solutions (1)
697 Views
2 Replies
Replies (2)
Message 2 of 3

MechMachineMan
Advisor
Advisor
Accepted solution

Hi. Question has been addressed at least twice in the last 6 months on the forums.

 

The line 

oPDFAddIn.HasSaveCopyAsOptions(oDataMedium, oContext, oOptions) Then

is no longer supported in 2018.

 

Remove that, and it should work. Otherwise, search the forums harder for a solution someone else has posted.

 

Good luck.


--------------------------------------
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 3 of 3

Anonymous
Not applicable

Thank you.

0 Likes