<?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: split all intersecting surfaces in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3790194#M132449</link>
    <description>&lt;P&gt;thanks for the reply, i have been on leave...&amp;nbsp; i will try it today hopefully&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2013 12:07:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-26T12:07:10Z</dc:date>
    <item>
      <title>split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3772079#M132447</link>
      <description>&lt;P&gt;is there a command or workflow to split all intersecting surfaces?&amp;nbsp; currently we build surface models and split manually or open in autocad, explode, overkill, breakall, then export the lines for rebuilding in an FE package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally we would like to export straight from inventor with one hit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached part, i would like to do the 5 splits below the EOP marker automatically&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 09:54:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3772079#M132447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-07T09:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3782928#M132448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope the following code is what you are looking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub Split()
    Dim oDoc As PartDocument
    Set oDoc = ThisApplication.ActiveDocument
    Dim oCompDef As PartComponentDefinition
    Set oCompDef = oDoc.ComponentDefinition
    
'    Dim oPl As WorkPlane
'    Set oPl = oCompDef.WorkPlanes("XZ Plane")
    
    'arguments
    Dim oWS1 As WorkSurface
    Set oWS1 = oCompDef.WorkSurfaces(1)
    
    Dim oObjColl As ObjectCollection
    Set oObjColl = ThisApplication.TransientObjects.CreateObjectCollection()
    
    
     Dim oSurface As SurfaceBody 'WorkSurface
      Set oSurface = oCompDef.WorkSurfaces.Item(2).SurfaceBodies(1)
            
        Dim oFace As Face
        For Each oFace In oSurface.Faces
            oObjColl.Add oFace
        Next
            
    
    
    Dim oSplit As SplitFeature
    Set oSplit = oCompDef.Features.SplitFeatures.SplitFaces(oWS1, False, oObjColl)
   
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2013 03:35:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3782928#M132448</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2013-02-18T03:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3790194#M132449</link>
      <description>&lt;P&gt;thanks for the reply, i have been on leave...&amp;nbsp; i will try it today hopefully&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 12:07:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3790194#M132449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-26T12:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3790269#M132450</link>
      <description>&lt;P&gt;I tried it and it only does (split 2) if you pull down the EOP marker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to split every intersecting surface on a model that may have 1000 surfaces.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I gues it would run something like,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List all visible surfaces&lt;/P&gt;&lt;P&gt;split surface 1 with surface 2&lt;/P&gt;&lt;P&gt;split surface 1 with surface 3&lt;/P&gt;&lt;P&gt;split surface 1 with surface xxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;split 2 with 3&lt;/P&gt;&lt;P&gt;2 with 4&lt;/P&gt;&lt;P&gt;etc etc&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 13:18:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3790269#M132450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-26T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3795063#M132451</link>
      <description>&lt;P&gt;this would be so useful...&amp;nbsp; i cant see any software that does it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 10:05:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3795063#M132451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-04T10:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3795811#M132452</link>
      <description>&lt;P&gt;Try this demo on your model. &amp;nbsp;This code uses the idea of Xiaodong in two loops.&lt;/P&gt;
&lt;PRE&gt;Sub Split_2()

  Dim oDoc As PartDocument
  Set oDoc = ThisApplication.ActiveDocument
  Dim oCompDef As PartComponentDefinition
  Set oCompDef = oDoc.ComponentDefinition
  
  'The 1st work surface
  Dim oWS1 As WorkSurface
  Set oWS1 = oCompDef.WorkSurfaces.Item(1)
  
  Dim N As Integer
  N = oCompDef.WorkSurfaces.count
    
  Dim oObjColl As ObjectCollection
  Set oObjColl = ThisApplication.TransientObjects.CreateObjectCollection()
  
  Dim i As Integer
  Dim oSurface As SurfaceBody
  Dim oFace As Face
  Dim oSplit As SplitFeature
  
  For i = 2 To N
     Call oObjColl.Clear
     Set oSurface = oCompDef.WorkSurfaces.Item(i).SurfaceBodies(1)
     For Each oFace In oSurface.Faces
         oObjColl.Add oFace
     Next
     Set oSplit = oCompDef.Features.SplitFeatures _
           .SplitFaces(oWS1, False, oObjColl)
   Next i
   
   
  For i = 2 To N
     Call oObjColl.Clear
     For Each oFace In oWS1.SurfaceBodies(1).Faces
         oObjColl.Add oFace
     Next
     Set oSurface = oCompDef.WorkSurfaces.Item(i).SurfaceBodies(1)
     Set oSplit = oCompDef.Features.SplitFeatures _
           .SplitFaces(oSurface, False, oObjColl)
  Next i

  Beep
End Sub&lt;/PRE&gt;
&lt;P&gt;I hope that the idea is clear, and you can customize this code to suit your needs.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2013 21:57:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3795811#M132452</guid>
      <dc:creator>Vladimir.Ananyev</dc:creator>
      <dc:date>2013-03-04T21:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3796167#M132453</link>
      <description>&lt;P&gt;This seems to work perfectly on the test model and Ive added a few more surfaces&amp;nbsp; that also seem to work, dropped into femap and meshed instantly with no problems...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thankyou very much, I am going to try it on a proper model now and let you know the results, this could save me a lot of time&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 11:34:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3796167#M132453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-05T11:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3796528#M132454</link>
      <description>&lt;P&gt;is there a way to just list and act on the visible surfaces?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 16:59:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3796528#M132454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-05T16:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3796816#M132455</link>
      <description>&lt;P&gt;No problem. &lt;BR /&gt;You may exclude any work surface if its property Visible returns False.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 20:25:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3796816#M132455</guid>
      <dc:creator>Vladimir.Ananyev</dc:creator>
      <dc:date>2013-03-05T20:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3798540#M132456</link>
      <description>&lt;P&gt;is there a maximum number of surfaces this can handle? it counts all of the surfaces correctly but doesnt split them all over a certain number.&amp;nbsp; i tried on a real model then came back and tested against the attached part...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also it would be good if it automatically deleted failed splits that dont intersect&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 12:40:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3798540#M132456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-07T12:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3798937#M132457</link>
      <description>&lt;P&gt;ok, I understand a bit better, it is only splitting based on the worksurface, i need it to split every surface that intersects another so I am missing any surfaces off this plane...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2013 17:44:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3798937#M132457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-07T17:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3947630#M132458</link>
      <description>&lt;P&gt;This has risen again... can anyone think of an easy way to do this? ideally automated&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2013 16:16:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/3947630#M132458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-05T16:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: split all intersecting surfaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/4308211#M132459</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="login-bold"&gt;&lt;A id="link_13f79a17912" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/117053" target="_self"&gt;stephengibson76&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;I came back this question. I am thinking probably TransientBrep may help. But I need to make sure I understood your question (it seems it is a further question instead of the orignal post, right?) . Could you provide a sample on what kind of surface you want to do split?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 04:42:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/split-all-intersecting-surfaces/m-p/4308211#M132459</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2013-06-25T04:42:01Z</dc:date>
    </item>
  </channel>
</rss>

