Export IPT with flat pattern to DXF using DXFAddIn = corrupted file

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
we have a problem with DXFAddIn in Inventor 2018 Pro.
We wrote some simple code example to illustrate that (attached).
When we are using DXFAddIn to export IPT file to DXF - result of this operation is always corrupted file. When we are using DataIO resulted file is ok.
The reason we want to use DXFAddIn is that we want to be able dynamically load ini file (and no - we don't want to play with same ini to URL like format convertion shenanigans).
Could You please verify that code from sample code in inventor help regarding "Sample programs\Translators\Export\Export to DXF" is working for You, and, what is more imporatant, You can confirm that generated DXF file is not corrupted ().
As far as I'm concerned other users encounter same problems.
Maybe we do not understand something - maybe inventor is not able to convert ipt Document to DXF directly. Maybe we have to first Unfold SheetMetalComponent and then try to save it using DXFAddIn?
Could You please give an example of corrected code converting IPT file (containing Flat Pattern) to DXF file directly.
Thanks in advance.