- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I've been trying to get the Inventor help sample code PublishDXF to work, but I keep getting an error on line "Call DXFAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)" The error message in attached. I'm running the code in an .ipt file using iLogic. I unfold a sheet metal part then place the flat pattern on an .idw with some text. I set the .idw active and then call the PublishDXF sub.
It may help if I knew what all the pieces of the code was doing. For instance what is the purpose of creating.ini file, if that's what it is doing? Does it have to be placed in a certain location? It's just very difficult to debug when I do not know what any of the arguments are doing.
I've tried running the code in VBA from inside the idw, but I get the same error.
Please can someone give me some direction?
Thanks in advance.
Master Drafter/ CAD Programmer
Using Inventor 2018
Solved! Go to Solution.