<?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 face as DXF from API? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965513#M154723</link>
    <description>There isn't a formal API for the 'Export Face to DXF' command. You can drive &lt;BR /&gt;
the UI command via the API (see code below), but there isn't a way to &lt;BR /&gt;
specify any of the DXF save options.&lt;BR /&gt;
&lt;BR /&gt;
Sub ExportFaceToDXF()&lt;BR /&gt;
&lt;BR /&gt;
    Dim odoc As PartDocument&lt;BR /&gt;
    Set odoc = ThisApplication.ActiveDocument&lt;BR /&gt;
&lt;BR /&gt;
    Dim oBaseFace As Face&lt;BR /&gt;
    Set oBaseFace = ...&lt;BR /&gt;
&lt;BR /&gt;
    odoc.SelectSet.Select oBaseFace&lt;BR /&gt;
&lt;BR /&gt;
    ThisApplication.CommandManager.PostPrivateEvent kFileNameEvent, &lt;BR /&gt;
"C:\temp\BaseFace.dxf"&lt;BR /&gt;
&lt;BR /&gt;
    Dim oCtrlDef As ButtonDefinition&lt;BR /&gt;
    Set oCtrlDef = &lt;BR /&gt;
ThisApplication.CommandManager.ControlDefinitions.Item("GeomToDXFCommand")&lt;BR /&gt;
&lt;BR /&gt;
    oCtrlDef.Execute&lt;BR /&gt;
&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
Sanjay-&lt;BR /&gt;
&lt;BR /&gt;
&lt;BRUCESCOTT&gt; wrote in message news:5581759@discussion.autodesk.com...&lt;BR /&gt;
We continue to struggle with creating DXF files from our parameter driven &lt;BR /&gt;
sheet metal parts in Inv 11, and now in Inv 2008.  The layer assignments for &lt;BR /&gt;
DXF export work&lt;BR /&gt;
well in 2008, but parts of other faces continue to appear in the DXF files, &lt;BR /&gt;
requiring editing before they are suitable for machine cutting.  An example &lt;BR /&gt;
DXF file is attached.&lt;BR /&gt;
&lt;BR /&gt;
My question is: Can I programmatically export the base face to DXF from &lt;BR /&gt;
Inventor 2008 to elimnate parts of other faces in the DXF file created from &lt;BR /&gt;
th&lt;BR /&gt;
e entire flat pattern?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bruce Scott&lt;BR /&gt;
Henderson Mfg.&lt;/BRUCESCOTT&gt;</description>
    <pubDate>Fri, 11 May 2007 00:21:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-05-11T00:21:32Z</dc:date>
    <item>
      <title>Export face as DXF from API?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965512#M154722</link>
      <description>We continue to struggle with creating DXF files from our parameter driven sheet metal parts in Inv 11, and now in Inv 2008.  The layer assignments for DXF export work&lt;BR /&gt;
well in 2008, but parts of other faces continue to appear in the DXF files, requiring editing before they are suitable for machine cutting.  An example DXF file is attached.&lt;BR /&gt;
&lt;BR /&gt;
My question is: Can I programmatically export the base face to DXF from Inventor 2008 to elimnate parts of other faces in the DXF file created from the entire flat pattern?  &lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bruce Scott&lt;BR /&gt;
Henderson Mfg.</description>
      <pubDate>Thu, 10 May 2007 15:42:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965512#M154722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-10T15:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export face as DXF from API?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965513#M154723</link>
      <description>There isn't a formal API for the 'Export Face to DXF' command. You can drive &lt;BR /&gt;
the UI command via the API (see code below), but there isn't a way to &lt;BR /&gt;
specify any of the DXF save options.&lt;BR /&gt;
&lt;BR /&gt;
Sub ExportFaceToDXF()&lt;BR /&gt;
&lt;BR /&gt;
    Dim odoc As PartDocument&lt;BR /&gt;
    Set odoc = ThisApplication.ActiveDocument&lt;BR /&gt;
&lt;BR /&gt;
    Dim oBaseFace As Face&lt;BR /&gt;
    Set oBaseFace = ...&lt;BR /&gt;
&lt;BR /&gt;
    odoc.SelectSet.Select oBaseFace&lt;BR /&gt;
&lt;BR /&gt;
    ThisApplication.CommandManager.PostPrivateEvent kFileNameEvent, &lt;BR /&gt;
"C:\temp\BaseFace.dxf"&lt;BR /&gt;
&lt;BR /&gt;
    Dim oCtrlDef As ButtonDefinition&lt;BR /&gt;
    Set oCtrlDef = &lt;BR /&gt;
ThisApplication.CommandManager.ControlDefinitions.Item("GeomToDXFCommand")&lt;BR /&gt;
&lt;BR /&gt;
    oCtrlDef.Execute&lt;BR /&gt;
&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
Sanjay-&lt;BR /&gt;
&lt;BR /&gt;
&lt;BRUCESCOTT&gt; wrote in message news:5581759@discussion.autodesk.com...&lt;BR /&gt;
We continue to struggle with creating DXF files from our parameter driven &lt;BR /&gt;
sheet metal parts in Inv 11, and now in Inv 2008.  The layer assignments for &lt;BR /&gt;
DXF export work&lt;BR /&gt;
well in 2008, but parts of other faces continue to appear in the DXF files, &lt;BR /&gt;
requiring editing before they are suitable for machine cutting.  An example &lt;BR /&gt;
DXF file is attached.&lt;BR /&gt;
&lt;BR /&gt;
My question is: Can I programmatically export the base face to DXF from &lt;BR /&gt;
Inventor 2008 to elimnate parts of other faces in the DXF file created from &lt;BR /&gt;
th&lt;BR /&gt;
e entire flat pattern?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bruce Scott&lt;BR /&gt;
Henderson Mfg.&lt;/BRUCESCOTT&gt;</description>
      <pubDate>Fri, 11 May 2007 00:21:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965513#M154723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-11T00:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export face as DXF from API?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965514#M154724</link>
      <description>I am not sure if this would help your  case or not, but have you taken a &lt;BR /&gt;
look at the "Export Planer Geometry For Flat Pattern" addin on my site&lt;BR /&gt;
&lt;BR /&gt;
It is at the bottom of the page here &lt;BR /&gt;
http://www.kwikmcad.com/icode/addins.asp&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Kent Keller&lt;BR /&gt;
&lt;BRUCESCOTT&gt; wrote in message news:5581759@discussion.autodesk.com...&lt;BR /&gt;
We continue to struggle with creating DXF files from our parameter driven &lt;BR /&gt;
sheet metal parts in Inv 11, and now in Inv 2008.  The layer assignments for &lt;BR /&gt;
DXF export work&lt;BR /&gt;
well in 2008, but parts of other faces continue to appear in the DXF files, &lt;BR /&gt;
requiring editing before they are suitable for machine cutting.  An example &lt;BR /&gt;
DXF file is attached.&lt;BR /&gt;
&lt;BR /&gt;
My question is: Can I programmatically export the base face to DXF from &lt;BR /&gt;
Inventor 2008 to elimnate parts of other faces in the DXF file created from &lt;BR /&gt;
th&lt;BR /&gt;
e entire flat pattern?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bruce Scott&lt;BR /&gt;
Henderson Mfg.&lt;/BRUCESCOTT&gt;</description>
      <pubDate>Sat, 12 May 2007 16:30:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-face-as-dxf-from-api/m-p/1965514#M154724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-12T16:30:01Z</dc:date>
    </item>
  </channel>
</rss>

