<?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 iLogic - sheetmetal export config in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9118607#M109010</link>
    <description>&lt;P&gt;Greetings all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in the process of setting up an export rule in ilogic and have followed the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/ilogic-for-creating-flat-pattern-for-sheet-metal-assembly/m-p/7986522#M84102" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/ilogic-for-creating-flat-pattern-for-sheet-metal-assembly/m-p/7986522#M84102&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method works great however is there a way to define the config file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am assuming that it is somewhere in this string:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oDataMedium.FileName = oFolder &amp;amp; "\" &amp;amp; CustomName  &amp;amp; " " &amp;amp; oFileName &amp;amp; ".dxf"

Dim oCompDef As SheetMetalComponentDefinition
oCompDef = oDrawDoc.ComponentDefinition
If oCompDef.HasFlatPattern = False Then
oCompDef.Unfold
Else
oCompDef.FlatPattern.Edit
End If
Dim sOut As String
sOut = "FLAT PATTERN DXF?AcadVersion=2010&amp;amp;OuterProfileLayer=OUT PRO"
oCompDef.DataIO.WriteDataToFile( sOut, oDataMedium.FileName)
oCompDef.FlatPattern.ExitEdit
Catch
End Try&lt;/PRE&gt;&lt;P&gt;We use dxf's for lasercutting and would like to be able to bulk export sheetmetal flat patterns without any fold lines or etch markings, just inner profile and outer profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 01:00:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-31T01:00:31Z</dc:date>
    <item>
      <title>iLogic - sheetmetal export config</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9118607#M109010</link>
      <description>&lt;P&gt;Greetings all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in the process of setting up an export rule in ilogic and have followed the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/ilogic-for-creating-flat-pattern-for-sheet-metal-assembly/m-p/7986522#M84102" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/ilogic-for-creating-flat-pattern-for-sheet-metal-assembly/m-p/7986522#M84102&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method works great however is there a way to define the config file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am assuming that it is somewhere in this string:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;oDataMedium.FileName = oFolder &amp;amp; "\" &amp;amp; CustomName  &amp;amp; " " &amp;amp; oFileName &amp;amp; ".dxf"

Dim oCompDef As SheetMetalComponentDefinition
oCompDef = oDrawDoc.ComponentDefinition
If oCompDef.HasFlatPattern = False Then
oCompDef.Unfold
Else
oCompDef.FlatPattern.Edit
End If
Dim sOut As String
sOut = "FLAT PATTERN DXF?AcadVersion=2010&amp;amp;OuterProfileLayer=OUT PRO"
oCompDef.DataIO.WriteDataToFile( sOut, oDataMedium.FileName)
oCompDef.FlatPattern.ExitEdit
Catch
End Try&lt;/PRE&gt;&lt;P&gt;We use dxf's for lasercutting and would like to be able to bulk export sheetmetal flat patterns without any fold lines or etch markings, just inner profile and outer profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 01:00:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9118607#M109010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T01:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - sheetmetal export config</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9119144#M109011</link>
      <description>&lt;P&gt;Hi, try replacing the following lines of your code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;sOut&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
&lt;SPAN&gt;sOut&lt;/SPAN&gt; =  &lt;SPAN&gt;"FLAT PATTERN DXF?AcadVersion=2010&amp;amp;RebaseGeometry=True&amp;amp;SimplifySpline=True&amp;amp;InteriorProfilesLayer=IV_INTERIOR_PROFILES&amp;amp;InvisibleLayers=IV_TANGENT;IV_BEND;IV_BEND_DOWN;IV_TOOL_CENTER_DOWN;IV_ARC_CENTERS;IV_FEATURE_PROFILES;IV_FEATURE_PROFILES_DOWN;IV_UNCONSUMED_SKETCHES;IV_ROLL_TANGENT;IV_ROLL&amp;amp;SplineToleranceDouble=0.01"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I hope this helps with your problem. Regards&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 09:28:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9119144#M109011</guid>
      <dc:creator>Sergio.D.Suárez</dc:creator>
      <dc:date>2019-10-31T09:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - sheetmetal export config</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9120729#M109012</link>
      <description>&lt;P&gt;Hola Sergio,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you this solved my problem,&lt;/P&gt;&lt;P&gt;However I would like to be able to use our company custom config for dxf exports (it has the layers named and set up for the machinery we use)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to use this in somewhere?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gracias&lt;/P&gt;&lt;P&gt;Matt&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:14:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-sheetmetal-export-config/m-p/9120729#M109012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T20:14:30Z</dc:date>
    </item>
  </channel>
</rss>

