<?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: sheetmetal combinefeature in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/9829471#M56787</link>
    <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you should post this on the customisation forum. You might better help, since this is code related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FINET L.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2020 10:55:56 GMT</pubDate>
    <dc:creator>FINET_Laurent</dc:creator>
    <dc:date>2020-10-28T10:55:56Z</dc:date>
    <item>
      <title>sheetmetal combinefeature</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/9829441#M56786</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to add a combine feature to a sheet metal. With the user interface it works fine, but with the API I get an error in the last line (see VBA code below and the attached file).&lt;/P&gt;&lt;P&gt;Any hints?&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Public Sub CombineFeature()
    
    Dim oDoc As PartDocument
    Set oDoc = ThisApplication.ActiveDocument
    
    Dim oTObj As TransientObjects
    Set oTObj = ThisApplication.TransientObjects
    
    Dim oSheetMetalDef As SheetMetalComponentDefinition
    Set oSheetMetalDef = oDoc.ComponentDefinition
    
    Dim oSheetMetalFeatures As SheetMetalFeatures
    Set oSheetMetalFeatures = oSheetMetalDef.Features
    
    Dim baseBody As SurfaceBody
    Set baseBody = oSheetMetalDef.SurfaceBodies.Item(1)
    
    Dim toolBodies As ObjectCollection
    Set toolBodies = oTObj.CreateObjectCollection
    Call toolBodies.Add(oSheetMetalDef.SurfaceBodies.Item(2))
    
    Dim combFeature As CombineFeature
    Set combFeature = oSheetMetalFeatures.CombineFeatures.Add(baseBody, toolBodies, kCutOperation, False)
            
End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:46:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/9829441#M56786</guid>
      <dc:creator>etaCAD</dc:creator>
      <dc:date>2020-10-28T10:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: sheetmetal combinefeature</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/9829471#M56787</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you should post this on the customisation forum. You might better help, since this is code related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FINET L.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:55:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/9829471#M56787</guid>
      <dc:creator>FINET_Laurent</dc:creator>
      <dc:date>2020-10-28T10:55:56Z</dc:date>
    </item>
    <item>
      <title>Betreff: sheetmetal combinefeature</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/10737338#M56788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the same Problem.&lt;/P&gt;&lt;P&gt;Is there now a solution available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 07:09:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/sheetmetal-combinefeature/m-p/10737338#M56788</guid>
      <dc:creator>c.perinka</dc:creator>
      <dc:date>2021-11-05T07:09:14Z</dc:date>
    </item>
  </channel>
</rss>

