<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic write idw to dxf using translator addin with c# in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3122354#M139493</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to export an idw file to dwg using c# and the dwg translator addin. running the code below there is a COMException (E_UNEXPECTED) while executing dwgAddIn.SaveCopyAs.&lt;/P&gt;&lt;P&gt;Similar code works fine with the pdf translator and it also works fine&amp;nbsp;translated to&amp;nbsp;VBA and runnig as a macro within Invetor.&lt;/P&gt;&lt;P&gt;I will apreciate any idea...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;void&lt;/FONT&gt;&lt;/FONT&gt; SaveAsDwg(Inventor.&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;Application&lt;/FONT&gt;&lt;/FONT&gt; InvApp, Inventor.&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;Document&lt;/FONT&gt;&lt;/FONT&gt;InvDoc)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;{&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;TranslatorAddIn&lt;/FONT&gt;&lt;/FONT&gt; dwgAddIn = &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;(Inventor.&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;TranslatorAddIn&lt;/FONT&gt;&lt;/FONT&gt;)InvApp.ApplicationAddIns.get_ItemById(&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;"{C24E3AC2-122E-11D5-8E91-0010B541CD80}"&lt;/FONT&gt;&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;/FONT&gt; (dwgAddIn == &lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;null&lt;/FONT&gt;&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;throw&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;Exception&lt;/FONT&gt;&lt;/FONT&gt;(&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;"Could not access DWG translator."&lt;/FONT&gt;&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;I&lt;/FONT&gt;&lt;FONT size="1"&gt;nventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;TranslationContext&lt;/FONT&gt;&lt;/FONT&gt;translationContext = InvApp.TransientObjects.CreateTranslationContext();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;translationContext.Type = Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;IOMechanismEnum&lt;/FONT&gt;&lt;/FONT&gt;.kFileBrowseIOMechanism;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;NameValueMap&lt;/FONT&gt;&lt;/FONT&gt;options = InvApp.TransientObjects.CreateNameValueMap();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;(dwgAddIn.get_HasSaveCopyAsOptions(InvDoc, translationContext, options))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;{&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;options.set_Value(&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;"Export_Acad_IniFile"&lt;/FONT&gt;&lt;/FONT&gt;, &lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;@"c:\temp\dwg.ini"&lt;/FONT&gt;&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;DataMedium&lt;/FONT&gt;&lt;/FONT&gt;dataMedium = InvApp.TransientObjects.CreateDataMedium();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;dataMedium.FileName =&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;@"C:\temp\test2.dwg"&lt;/FONT&gt;&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;dwgAddIn.SaveCopyAs(InvDoc, translationContext, options, dataMedium);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Karl&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2011 09:33:32 GMT</pubDate>
    <dc:creator>KarlR.J.Wehr</dc:creator>
    <dc:date>2011-08-12T09:33:32Z</dc:date>
    <item>
      <title>write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3122354#M139493</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to export an idw file to dwg using c# and the dwg translator addin. running the code below there is a COMException (E_UNEXPECTED) while executing dwgAddIn.SaveCopyAs.&lt;/P&gt;&lt;P&gt;Similar code works fine with the pdf translator and it also works fine&amp;nbsp;translated to&amp;nbsp;VBA and runnig as a macro within Invetor.&lt;/P&gt;&lt;P&gt;I will apreciate any idea...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;void&lt;/FONT&gt;&lt;/FONT&gt; SaveAsDwg(Inventor.&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;Application&lt;/FONT&gt;&lt;/FONT&gt; InvApp, Inventor.&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;Document&lt;/FONT&gt;&lt;/FONT&gt;InvDoc)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;{&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;TranslatorAddIn&lt;/FONT&gt;&lt;/FONT&gt; dwgAddIn = &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;(Inventor.&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;TranslatorAddIn&lt;/FONT&gt;&lt;/FONT&gt;)InvApp.ApplicationAddIns.get_ItemById(&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;"{C24E3AC2-122E-11D5-8E91-0010B541CD80}"&lt;/FONT&gt;&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;/FONT&gt; (dwgAddIn == &lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;null&lt;/FONT&gt;&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;throw&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;Exception&lt;/FONT&gt;&lt;/FONT&gt;(&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;"Could not access DWG translator."&lt;/FONT&gt;&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;I&lt;/FONT&gt;&lt;FONT size="1"&gt;nventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;TranslationContext&lt;/FONT&gt;&lt;/FONT&gt;translationContext = InvApp.TransientObjects.CreateTranslationContext();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;translationContext.Type = Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;IOMechanismEnum&lt;/FONT&gt;&lt;/FONT&gt;.kFileBrowseIOMechanism;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;NameValueMap&lt;/FONT&gt;&lt;/FONT&gt;options = InvApp.TransientObjects.CreateNameValueMap();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;&lt;/FONT&gt;(dwgAddIn.get_HasSaveCopyAsOptions(InvDoc, translationContext, options))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;{&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;options.set_Value(&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;"Export_Acad_IniFile"&lt;/FONT&gt;&lt;/FONT&gt;, &lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;@"c:\temp\dwg.ini"&lt;/FONT&gt;&lt;/FONT&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Inventor.&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af"&gt;&lt;FONT color="#2b91af"&gt;DataMedium&lt;/FONT&gt;&lt;/FONT&gt;dataMedium = InvApp.TransientObjects.CreateDataMedium();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;dataMedium.FileName =&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;@"C:\temp\test2.dwg"&lt;/FONT&gt;&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;dwgAddIn.SaveCopyAs(InvDoc, translationContext, options, dataMedium);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Karl&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2011 09:33:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3122354#M139493</guid>
      <dc:creator>KarlR.J.Wehr</dc:creator>
      <dc:date>2011-08-12T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123852#M139494</link>
      <description>&lt;P&gt;I executed the code in C# project. It works on my machine. I think the problem is the parameters or the inventor application. Which inventor build are you using? Do you log on windows with an administrator account?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some suggestions to diagnose the issues.&lt;/P&gt;
&lt;P&gt;1. Verify the ini file "&lt;FONT size="1"&gt;&lt;FONT color="#a31515"&gt;&lt;FONT color="#a31515"&gt;c:\temp\dwg.ini&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;﻿" exists. And the paramter &lt;FONT size="1"&gt;InvDoc&lt;/FONT&gt;﻿ is not null at the runtime.&lt;/P&gt;
&lt;P&gt;2. If different inventor builds are installed, please verify the correct inventor.exe is started in the code. Set the breakpoint at the entry of function &lt;FONT size="1"&gt;SaveAsDwg&lt;/FONT&gt;﻿. Then you can get the chance to check the process property of inventor.exe in the Windows Task Manager. Verify the expected "Location" (In the Inventor.exe Properties | General tab) is the exact inventor you want to start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 03:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123852#M139494</guid>
      <dc:creator>jeffrey.sun</dc:creator>
      <dc:date>2011-08-15T03:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123946#M139495</link>
      <description>&lt;P&gt;Hi Jeffrey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks for your replay.&lt;/P&gt;&lt;P&gt;Unfortunately I still can't get it to run. I tested with Inventor 2012 on two workstations and additionally with inventor 2011 SP2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ini file "c:\temp\dwg.ini﻿" exists and works while using it with manual export (or with vba code within a macro). InvDoc is set to a document at runtime. The correct inventor.exe is used – I’m getting the application with&lt;/P&gt;&lt;P&gt;(Inventor.Application)System.Runtime.InteropServices.Marshal.GetActiveObject(progId)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m using Windows 7 x64. Could that be an issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 09:08:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123946#M139495</guid>
      <dc:creator>KarlR.J.Wehr</dc:creator>
      <dc:date>2011-08-15T09:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123952#M139496</link>
      <description>&lt;P&gt;Hello Karl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What is the message of the exception?﻿&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you log on windows with an administrator account?﻿ If not, please run the execution built by the c# project in Administrator mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 09:28:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123952#M139496</guid>
      <dc:creator>jeffrey.sun</dc:creator>
      <dc:date>2011-08-15T09:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123964#M139497</link>
      <description>&lt;P&gt;Hello Jeffrey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;both inventor and visual studio are running 'as administrator'. I also turned off the user acount control, so not sufficient right shouldn't be the cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error (in german):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.Runtime.InteropServices.COMException wurde nicht behandelt.&lt;BR /&gt;&amp;nbsp; Message="Schwerwiegender Fehler (Ausnahme von HRESULT: 0x8000FFFF (E_UNEXPECTED))"&lt;BR /&gt;&amp;nbsp; Source="mscorlib"&lt;BR /&gt;&amp;nbsp; ErrorCode=-2147418113&lt;BR /&gt;&amp;nbsp; StackTrace:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei Inventor.TranslatorAddIn.SaveCopyAs(Object SourceObject, TranslationContext Context, NameValueMap Options, DataMedium TargetData)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei WindowsFormsApplication2.test.SaveAsDwg(Application InvApp, Document InvDoc) in H:\entwickl\entegra\temp\WindowsFormsApplication2\test.cs:Zeile 51.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei WindowsFormsApplication2.test.run() in H:\entwickl\entegra\temp\WindowsFormsApplication2\test.cs:Zeile 27.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei WindowsFormsApplication2.Program.Main() in h:\entwickl\entegra\temp\windowsformsapplication2\Program.cs:Zeile 19.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bei System.Threading.ThreadHelper.ThreadStart()&lt;BR /&gt;&amp;nbsp; InnerException:&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 09:37:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3123964#M139497</guid>
      <dc:creator>KarlR.J.Wehr</dc:creator>
      <dc:date>2011-08-15T09:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3124000#M139498</link>
      <description>&lt;P&gt;Hello Carl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you upload your c# project and the related ini and idw files? I'll have a try with your porject to see if it can reproduce on my machine.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 10:32:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3124000#M139498</guid>
      <dc:creator>jeffrey.sun</dc:creator>
      <dc:date>2011-08-15T10:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3124004#M139499</link>
      <description>&lt;P&gt;Hello Jeffrey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks for your efforts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally found out the reason. I opened the inventor document with the option visible = false. Opening the file that way you can export to pdf but you can't to AutoCAD (dwg or dxf). Opening the file with visible = true solves the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2011 10:44:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3124004#M139499</guid>
      <dc:creator>KarlR.J.Wehr</dc:creator>
      <dc:date>2011-08-15T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: write idw to dxf using translator addin with c#</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3124976#M139500</link>
      <description>&lt;P&gt;Hi Carl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can reproduce your issue if open the drawing document in the invisible mode. Originally, I set this option with true. That's the reason why it works on my machine. Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 01:32:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/write-idw-to-dxf-using-translator-addin-with-c/m-p/3124976#M139500</guid>
      <dc:creator>jeffrey.sun</dc:creator>
      <dc:date>2011-08-16T01:32:58Z</dc:date>
    </item>
  </channel>
</rss>

