<?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 Find the adjacent faces of given edge or face in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035152#M153999</link>
    <description>&lt;P&gt;Hiii.....I need to find the adjacent facec of edge or given face to do the chamfer .Can anybody suggest the code for the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2023 03:50:42 GMT</pubDate>
    <dc:creator>supriya_chaugule</dc:creator>
    <dc:date>2023-06-15T03:50:42Z</dc:date>
    <item>
      <title>Find the adjacent faces of given edge or face</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035152#M153999</link>
      <description>&lt;P&gt;Hiii.....I need to find the adjacent facec of edge or given face to do the chamfer .Can anybody suggest the code for the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 03:50:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035152#M153999</guid>
      <dc:creator>supriya_chaugule</dc:creator>
      <dc:date>2023-06-15T03:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Find the adjacent faces of given edge or face</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035239#M154001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13989289"&gt;@supriya_chaugule&lt;/a&gt;&amp;nbsp;.&amp;nbsp;Here's a code example to get a list of faces.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Sub main()
	Dim oDoc As PartDocument = ThisApplication.ActiveDocument
	Dim oFace As Face = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kPartFaceFilter, "Pick the face")
	If oFace Is Nothing Then Exit Sub
	Dim listFaces As New List(Of Face)
	listFaces.AddRange(GetAdjacentFaces(oFace))
End Sub

Private Function GetAdjacentFaces(oFace As Face) As List(Of Face)
	Dim listFaces As New List(Of Face)
	For Each oEdge As Edge In oFace.Edges
		For Each oEdgFace As Face In oEdge.Faces
			If Not oEdgFace Is oFace Then listFaces.Add(oEdgFace)
		Next
	Next
	Return listFaces
End Function&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 05:18:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035239#M154001</guid>
      <dc:creator>Andrii_Humeniuk</dc:creator>
      <dc:date>2023-06-15T05:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find the adjacent faces of given edge or face</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035333#M154003</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13518190"&gt;@Andrii_Humeniuk&lt;/a&gt;&amp;nbsp; For the solution.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 06:24:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/find-the-adjacent-faces-of-given-edge-or-face/m-p/12035333#M154003</guid>
      <dc:creator>supriya_chaugule</dc:creator>
      <dc:date>2023-06-15T06:24:53Z</dc:date>
    </item>
  </channel>
</rss>

