<?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 DXF Export via macro in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/dxf-export-via-macro/m-p/2967202#M140990</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We create idw files and convert them into dxf files using macro. But on some PCs, exported files are zipped automatically. We dont want them zipped. Why that happens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2011 12:19:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-28T12:19:15Z</dc:date>
    <item>
      <title>DXF Export via macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/dxf-export-via-macro/m-p/2967202#M140990</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We create idw files and convert them into dxf files using macro. But on some PCs, exported files are zipped automatically. We dont want them zipped. Why that happens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2011 12:19:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/dxf-export-via-macro/m-p/2967202#M140990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-28T12:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: DXF Export via macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/dxf-export-via-macro/m-p/2967736#M140991</link>
      <description>&lt;P&gt;I'm assuming that you are using the dxf translator addin.&amp;nbsp; If memory serves:&amp;nbsp; Have one of the users save a copy as .dxf without the macro.&amp;nbsp; On the save dialog, select Options, and make sure that the Pack and Go is not selected.&amp;nbsp; Proceed with save.&amp;nbsp; This should fix the issue for this user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To prevent this from happening again, it is a good idea for you to create a configuration that the macro will always use.&amp;nbsp; To do this, save copy as .dxf again without the macro.&amp;nbsp; Select Options.&amp;nbsp; Make sure Pack and Go is not selected.&amp;nbsp; Click Next.&amp;nbsp; Select other options (scaling, mapping options, etc).&amp;nbsp; Click "Save Configuration," and save the .ini file to a location on your network that all users can access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you'll need to edit your code so that the translator uses the .ini file you've created.&amp;nbsp; From the programming help (slightly edited):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;   &lt;SPAN style="color: #0000ff;"&gt;' Create a NameValueMap object&lt;/SPAN&gt;&lt;BR /&gt;    &lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;Dim&lt;/SPAN&gt;&lt;/STRONG&gt; oOptions &lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;As&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;A target="_blank" rel="nofollow" href="https://forums.autodesk.com/Inventor__NameValueMap.html"&gt;NameValueMap&lt;/A&gt;&lt;BR /&gt;    &lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;Set&lt;/SPAN&gt;&lt;/STRONG&gt; oOptions = ThisApplication.&lt;A target="_blank" rel="nofollow" href="https://forums.autodesk.com/Inventor__TransientObjects.html"&gt;TransientObjects&lt;/A&gt;.CreateNameValueMap&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;    Dim&lt;/SPAN&gt;&lt;/STRONG&gt; strIniFile &lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;As&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;String&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;    strIniFile = "(location of .ini file).ini"&lt;BR /&gt;    &lt;SPAN style="color: #0000ff;"&gt;' Create the name-value that specifies the ini file to use.&lt;/SPAN&gt;&lt;BR /&gt;    oOptions.Value("Export_Acad_IniFile") = strIniFile&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;    'Set the destination file name&lt;/SPAN&gt;&lt;BR /&gt;    oDataMedium.FileName = "c:\tempdwgout.dwg"&lt;BR /&gt;    &lt;SPAN style="color: #0000ff;"&gt;'Publish document.&lt;/SPAN&gt;&lt;BR /&gt;    &lt;STRONG&gt;&lt;SPAN style="color: #871f78;"&gt;Call&lt;/SPAN&gt;&lt;/STRONG&gt; DWGAddIn.&lt;A target="_blank" rel="nofollow" href="Inventor__TranslatorAddIn__SaveCopyAs@[in]_IDispatch_@[in]_TranslationContext_@[unique]_NameValueMap_@[in]_DataMedium_.html"&gt;SaveCopyAs&lt;/A&gt;(oDocument, oContext, oOptions, oDataMedium)&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Mar 2011 18:35:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/dxf-export-via-macro/m-p/2967736#M140991</guid>
      <dc:creator>alewer</dc:creator>
      <dc:date>2011-03-28T18:35:22Z</dc:date>
    </item>
  </channel>
</rss>

