<?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 Re: Make DXF and place in compressed file Ilogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619686#M112910</link>
    <description>&lt;P&gt;You need to open this file,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Q:\Projecten\Projecten algemeen\DXF Instellingen(2)\DXF-instellingen.ini&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;using notepad (or some text document editor) and change the use transmittal property to yes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this works for you, please accept as solution.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jul 2020 12:38:12 GMT</pubDate>
    <dc:creator>ckeveryga</dc:creator>
    <dc:date>2020-07-06T12:38:12Z</dc:date>
    <item>
      <title>Make DXF and place in compressed file Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9616496#M112891</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I was using inventor 2012, recently we upgraded to 2020.&lt;/P&gt;&lt;P&gt;In inventor 2012 i was using the following ilogic to create from one idw-file the dxf-files and place them into an compressed file.&lt;/P&gt;&lt;P&gt;Whit upgrading to inventor 2020 the rule makes the dxf-files but does not place them into an compressed file.&lt;/P&gt;&lt;P&gt;Can anyone maybe help me with my&amp;nbsp; problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also the compressed file had in inventor 2012 no name assigned.&lt;/P&gt;&lt;P&gt;This would be great to if i could add this, the name should be the same as the idx-file.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'query user&lt;/SPAN&gt;
&lt;SPAN&gt;question&lt;/SPAN&gt; = &lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"is a .DXF Export Required"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic Question"&lt;/SPAN&gt;,&lt;SPAN&gt;MessageBoxButtons&lt;/SPAN&gt;.&lt;SPAN&gt;YesNo&lt;/SPAN&gt;,&lt;SPAN&gt;MessageBoxIcon&lt;/SPAN&gt;.&lt;SPAN&gt;Question&lt;/SPAN&gt;)
&lt;SPAN&gt;'set condition based on answer&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;question&lt;/SPAN&gt; = &lt;SPAN&gt;vbYes&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
 
 
 
&lt;SPAN&gt;' Get the DXF translator Add-In.&lt;/SPAN&gt;
&lt;SPAN&gt;path_and_nameDXF&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;DXFAddIn&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TranslatorAddIn&lt;/SPAN&gt;
&lt;SPAN&gt;DXFAddIn&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ApplicationAddIns&lt;/SPAN&gt;.&lt;SPAN&gt;ItemById&lt;/SPAN&gt;(&lt;SPAN&gt;"{C24E3AC4-122E-11D5-8E91-0010B541CD80}"&lt;/SPAN&gt;)
&lt;SPAN&gt;'Set a reference to the active document (the document to be published).&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDocument&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;oDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oContext&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TranslationContext&lt;/SPAN&gt;
&lt;SPAN&gt;oContext&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateTranslationContext&lt;/SPAN&gt;
&lt;SPAN&gt;oContext&lt;/SPAN&gt;.&lt;SPAN&gt;Type&lt;/SPAN&gt; = &lt;SPAN&gt;IOMechanismEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kFileBrowseIOMechanism&lt;/SPAN&gt;
&lt;SPAN&gt;' Create a NameValueMap object&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oOptions&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;NameValueMap&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateNameValueMap&lt;/SPAN&gt;
&lt;SPAN&gt;' Create a DataMedium object&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDataMedium&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DataMedium&lt;/SPAN&gt;
&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDataMedium&lt;/SPAN&gt;
 
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;DXFAddIn&lt;/SPAN&gt;.&lt;SPAN&gt;HasSaveCopyAsOptions&lt;/SPAN&gt;(&lt;SPAN&gt;oDocument&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;strIniFile&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
&lt;SPAN&gt;strIniFile&lt;/SPAN&gt; = &lt;SPAN&gt;"Q:\Projecten\Projecten algemeen\DXF Instellingen(2)\DXF-instellingen.ini"&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Export_Acad_IniFile"&lt;/SPAN&gt;) = &lt;SPAN&gt;strIniFile&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
 
&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt; = &lt;SPAN&gt;path_and_nameDXF&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;".dxf"&lt;/SPAN&gt;
&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;DXFAddIn&lt;/SPAN&gt;.&lt;SPAN&gt;SaveCopyAs&lt;/SPAN&gt;(&lt;SPAN&gt;oDocument&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;, &lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jul 2020 13:16:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9616496#M112891</guid>
      <dc:creator>thomas.vanhaecke</dc:creator>
      <dc:date>2020-07-03T13:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Make DXF and place in compressed file Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619642#M112908</link>
      <description>&lt;P&gt;In order to have the DXF export to a zip file, the .ini file needs to have the line, "USE TRANSMITTAL = Yes".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix your naming issue, change the line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;path_and_nameDXF&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;path_and_nameDXF&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PathAndFileName&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 12:16:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619642#M112908</guid>
      <dc:creator>ckeveryga</dc:creator>
      <dc:date>2020-07-06T12:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Make DXF and place in compressed file Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619676#M112909</link>
      <description>&lt;P&gt;Can you maybe show me where i have to enter&amp;nbsp;&lt;SPAN&gt;"USE TRANSMITTAL = Yes"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not so familiar with the iLogoc code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 12:32:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619676#M112909</guid>
      <dc:creator>thomas.vanhaecke</dc:creator>
      <dc:date>2020-07-06T12:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Make DXF and place in compressed file Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619686#M112910</link>
      <description>&lt;P&gt;You need to open this file,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Q:\Projecten\Projecten algemeen\DXF Instellingen(2)\DXF-instellingen.ini&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;using notepad (or some text document editor) and change the use transmittal property to yes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this works for you, please accept as solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 12:38:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619686#M112910</guid>
      <dc:creator>ckeveryga</dc:creator>
      <dc:date>2020-07-06T12:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make DXF and place in compressed file Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619757#M112912</link>
      <description>&lt;P&gt;The iLogic does not make a Zip-file.&lt;/P&gt;&lt;P&gt;It still makes the DXF-files, but does not place them into a Zip-file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the name issue, I would like to have that the Zip-file has the name of the idw-file.&lt;/P&gt;&lt;P&gt;Now the DXF-files get the name of the idw-file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bellow you can find the text, should i change anything else maybe?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Q:\Projecten\Projecten algemeen\DXF Instellingen(2)\DXF-instellingen.ini&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[EXPORT SELECT OPTIONS]&lt;BR /&gt;AUTOCAD VERSION=AutoCAD 2010&lt;BR /&gt;CREATE AUTOCAD MECHANICAL=No&lt;BR /&gt;USE TRANSMITTAL=Yes&lt;BR /&gt;USE CUSTOMIZE=No&lt;BR /&gt;CUSTOMIZE FILE=C:\Users\Public\Documents\Autodesk\Inventor 2020\Design Data\DWG-DXF\FlatPattern.xml&lt;BR /&gt;CREATE LAYER GROUP=No&lt;BR /&gt;PARTS ONLY=Yes&lt;BR /&gt;[EXPORT PROPERTIES]&lt;BR /&gt;SELECTED PROPERTIES=&lt;BR /&gt;[EXPORT DESTINATION]&lt;BR /&gt;SPACE=Model&lt;BR /&gt;SCALING=Full&lt;BR /&gt;ALL SHEETS=Yes&lt;BR /&gt;MAPPING=MapsBest&lt;BR /&gt;MODEL GEOMETRY ONLY=Yes&lt;BR /&gt;EXPLODE DIMENSIONS=No&lt;BR /&gt;SYMBOLS ARE BLOCKED=Yes&lt;BR /&gt;AUTOCAD TEMPLATE=&lt;BR /&gt;DESTINATION DXF=Yes&lt;BR /&gt;USE ACI FOR ENTITIES AND LAYERS=No&lt;BR /&gt;[EXPORT LINE TYPE &amp;amp; LINE SCALE]&lt;BR /&gt;LINE TYPE FILE=C:\Users\Public\Documents\Autodesk\Inventor 2020\COMPATIBILITY\Support\invDIN.lin&lt;BR /&gt;Continuous=Continuous;0,&lt;BR /&gt;Dashed=DASHED;0,&lt;BR /&gt;Dashed Space=DASHED_SPACE;0,&lt;BR /&gt;Long Dash Dotted=LONG_DASH_DOTTED;0,&lt;BR /&gt;Long Dash Double Dot=LONG_DASH_DOUBLE_DOT;0,&lt;BR /&gt;Long Dash Triple Dot=LONG_DASH_TRIPLE_DOT;0,&lt;BR /&gt;Dotted=DOTTED;0,&lt;BR /&gt;Chain=CHAIN;0,&lt;BR /&gt;Double Dash Chain=DOUBLE_DASH_CHAIN;0,&lt;BR /&gt;Dash Double Dot=DASH_DOUBLE_DOT;0,&lt;BR /&gt;Dash Dot=DASH_DOT;0,&lt;BR /&gt;Double Dash Dot=DOUBLE_DASH_DOT;0,&lt;BR /&gt;Double Dash Double Dot=DOUBLE_DASH_DOUBLE_DOT;0,&lt;BR /&gt;Dash Triple Dot=DASH_TRIPLE_DOT;0,&lt;BR /&gt;Double Dash Triple Dot=DOUBLE_DASH_TRIPLE_DOT;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 13:12:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/make-dxf-and-place-in-compressed-file-ilogic/m-p/9619757#M112912</guid>
      <dc:creator>thomas.vanhaecke</dc:creator>
      <dc:date>2020-07-06T13:12:37Z</dc:date>
    </item>
  </channel>
</rss>

