<?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: Export part flatpattern or selected face add in. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/6417362#M65178</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been wanting to export a face as dxf via ILogic for a while but all the information I can find seems incomplete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please post the full working code for me to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And does your code require a button, or can it be run as an external rule?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2016 04:12:24 GMT</pubDate>
    <dc:creator>xenocatalyst</dc:creator>
    <dc:date>2016-07-04T04:12:24Z</dc:date>
    <item>
      <title>Export part flatpattern or selected face add in.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/5941022#M60266</link>
      <description>&lt;P&gt;Good Day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm very new to Inventor customizing. I've created an Add-in for inventor with Visual Studio 2015 and VB.net. I want to export the flatpatter or selected face by buttons in my PartRibbon Panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created the buttons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And added afunction tothe first button to export the flat pattern.(It works fine)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Private Sub FlatPatternExport_OnExecute() Handles FlatPatternExport.OnExecute
            Dim oDoc As PartDocument = m_inventorApplication.ActiveDocument
            Dim oDataIO As DataIO = oDoc.ComponentDefinition.DataIO
            oDataIO.WriteDataToFile("FLAT PATTERN DWG?AcadVersion=2000&amp;amp;OuterProfileLayer=IV_OUTER_PROFILE",_                m_inventorApplication.ActiveDocument.FullFileName &amp;amp; ".dwg")
       End Sub&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now i want to add a function to the other button, when clicked it will export the selected face to dwg in the same manner as above?But i am clueless, searched all over the internet.&lt;/P&gt;&lt;P&gt;This is what i have&lt;/P&gt;&lt;PRE&gt;Private Sub SelectedFaceExport_OnExecute() Handles SelectedFaceExport.OnExecute
            Dim oDoc As PartDocument = m_inventorApplication.ActiveDocument
            Dim oDataIO As DataIO = oDoc.ComponentDefinition.DataIO
            oDataIO.WriteDataToFile("Face Loops DWG?AcadVersion=2000&amp;amp;OuterProfileLayer=IV_OUTER_PROFILE", m_inventorApplication.ActiveDocument.FullFileName &amp;amp; ".dwg")&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Question 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do i only export the outer profile layer and bend line layer. When i open the DWG in AutoCAD i have to put off the layers i don't want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Wessel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 10:04:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/5941022#M60266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T10:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export part flatpattern or selected face add in.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/5945124#M60348</link>
      <description>&lt;P&gt;Answered&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 08:13:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/5945124#M60348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-10T08:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export part flatpattern or selected face add in.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/6417362#M65178</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been wanting to export a face as dxf via ILogic for a while but all the information I can find seems incomplete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please post the full working code for me to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And does your code require a button, or can it be run as an external rule?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 04:12:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/6417362#M65178</guid>
      <dc:creator>xenocatalyst</dc:creator>
      <dc:date>2016-07-04T04:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export part flatpattern or selected face add in.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/6417394#M65180</link>
      <description>&lt;P&gt;You can can contact me on "woosthuizen at oddy dot co dot za"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please send me an e-mail and we talk about the add in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wessel&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 05:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-part-flatpattern-or-selected-face-add-in/m-p/6417394#M65180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T05:35:14Z</dc:date>
    </item>
  </channel>
</rss>

