<?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: Drawing - Export layers in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120773#M102666</link>
    <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in that dialog, i can only change linetypes. I accessed the layers by Right Clicking the flat pattern at part level, selecting Save Copy As, then updating layers. It works fine whgen exporting from part level but i need the same results from drawing level export. I did select the .ini file a created but it didnt do anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A code method is also good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to do this from drawing level because i need to adda bunch oftext from iproperties which i cant do when exporting from part level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 20:33:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-31T20:33:48Z</dc:date>
    <item>
      <title>Drawing - Export layers</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120623#M102663</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;In much the same way we can change the layers in code when exporting a flat pattern to a DXF, can we do the same from a drawing so that the exported dxf has the layers required instead of the generic layers? Either code or built in method would suffice as long as the exported flat pattern in the dxf isnt all on Visible (ISO)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 19:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120623#M102663</guid>
      <dc:creator>NachitoMax</dc:creator>
      <dc:date>2019-10-31T19:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing - Export layers</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120764#M102664</link>
      <description>&lt;P&gt;goto "Save copy as"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="save_copy_as_menu.png" style="width: 200px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/693486i54E722C9593648AD/image-size/small?v=v2&amp;amp;px=200" role="button" title="save_copy_as_menu.png" alt="save_copy_as_menu.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Set "Save as type" to "Dxf"&lt;/P&gt;&lt;P&gt;and select "Options..."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="save_copy_as.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/693487iEF69888A9942DEB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="save_copy_as.png" alt="save_copy_as.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Check "Customize DWG/DXF" There will be a standard file wich you can change like you want. here you can set the layer names and that stuff.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dxf_file_export_options.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/693491iC01947079B355FB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dxf_file_export_options.png" alt="Dxf_file_export_options.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;finish and save.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:30:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120764#M102664</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2019-10-31T20:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing - Export layers</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120773#M102666</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in that dialog, i can only change linetypes. I accessed the layers by Right Clicking the flat pattern at part level, selecting Save Copy As, then updating layers. It works fine whgen exporting from part level but i need the same results from drawing level export. I did select the .ini file a created but it didnt do anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A code method is also good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to do this from drawing level because i need to adda bunch oftext from iproperties which i cant do when exporting from part level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:33:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120773#M102666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T20:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing - Export layers</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120855#M102672</link>
      <description>&lt;P&gt;for me it also works on idw's. see screencast:&lt;/P&gt;&lt;P&gt;&lt;A href="https://autode.sk/36nqfb6" target="_blank" rel="noopener"&gt;https://autode.sk/36nqfb6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 21:24:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120855#M102672</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2019-10-31T21:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing - Export layers</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120899#M102677</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for the reply. I get that bit and it would be great if there was docuemtnatino to support the customization of the FlatPattern.xml. for example, i dont want to use the default layer names, i need to use our own names with different colors. I am able to set that up in the .ini file but it doesnt do anything when exporting from a drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any documentation on customizing the flatpattern.xml? in code, i can do it this way and name my layers &amp;amp; colors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Public Sub WriteSheetMetalDXF()
    ' Get the active document.  This assumes it is a part document.
    Dim oDoc As PartDocument
    Set oDoc = ThisApplication.ActiveDocument

    ' Get the DataIO object.
    Dim oDataIO As DataIO
    Set oDataIO = oDoc.ComponentDefinition.DataIO

    ' Build the string that defines the format of the DXF file.
    
    

    Dim sOut As String
    sOut = "FLAT PATTERN DXF?" &amp;amp; _
            "AcadVersion=R12" &amp;amp; _
            "&amp;amp;OuterProfileLayer=CUT" &amp;amp; _
            "&amp;amp;OuterProfileLayerColor=255;0;0" &amp;amp; _
            "&amp;amp;BendUpLayer=BENDUP" &amp;amp; _
            "&amp;amp;BendUPLayerColor=0;255;0" &amp;amp; _
            "&amp;amp;BendDownLayer=BENDDOWN" &amp;amp; _
            "&amp;amp;BendDownLayerColor=0;255;0" &amp;amp; _
            "&amp;amp;InteriorProfilesLayer=INNER" &amp;amp; _
            "&amp;amp;InteriorProfilesLayerColor=255;0;127" &amp;amp; _
            "&amp;amp;TangentLayer=EXTENTS" &amp;amp; _
            "&amp;amp;TangentLayerColor=0;0;255"
            
    ' Create the DXF file.
    oDataIO.WriteDataToFile sOut, "C:\temp\flat2.dxf"
End Sub&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Oct 2019 21:56:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawing-export-layers/m-p/9120899#M102677</guid>
      <dc:creator>NachitoMax</dc:creator>
      <dc:date>2019-10-31T21:56:22Z</dc:date>
    </item>
  </channel>
</rss>

