<?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: Select centerpoint of slot like joint function in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11008993#M135506</link>
    <description>&lt;P&gt;If I'm not able to select the point itself I might use your option to get the whole slot (all tangent edges), highlight this for the user and get the point from the edgecollection to place my bolt on. That would probably work too.&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 14:24:29 GMT</pubDate>
    <dc:creator>julian_sol</dc:creator>
    <dc:date>2022-03-16T14:24:29Z</dc:date>
    <item>
      <title>Select centerpoint of slot like joint function</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11006129#M135450</link>
      <description>&lt;P&gt;Hi! I would like the user to be able to select the centerpoint of a slot just like the joint function does. How do I achieve this by code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jointquestion.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1036497iA0A32FC5629667FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="jointquestion.png" alt="jointquestion.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 13:36:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11006129#M135450</guid>
      <dc:creator>julian_sol</dc:creator>
      <dc:date>2022-03-15T13:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select centerpoint of slot like joint function</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11006273#M135453</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3116340"&gt;@julian_sol&lt;/a&gt;.&amp;nbsp; What do you intend to do with this point after you have selected it?&amp;nbsp; Do you need to create a WorkPoint or WorkAxis at that location?&amp;nbsp; Are you trying to constrain something to that point in the context of an assembly?&amp;nbsp; Do you just need the coordinates data?&amp;nbsp; A Point is a transient object (mathematical data only, no real visible geometry).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 14:24:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11006273#M135453</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-03-15T14:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select centerpoint of slot like joint function</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11006313#M135454</link>
      <description>&lt;P&gt;Give this iLogic code a shot. It will place a workpoint at the center of your slot.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oSlotEdge As Edge = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kPartEdgeFilter, "Select an edge on the slot") 
Dim oSlotEdgeCollection As EdgeCollection = oSlotEdge.TangentiallyConnectedEdges
Dim oComp As PartComponentDefinition = oSlotEdge.Parent.Parent
Dim SlotCentroid As WorkPoint = oComp.WorkPoints.AddAtCentroid(oSlotEdgeCollection)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 14:36:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11006313#M135454</guid>
      <dc:creator>abdullah_elq</dc:creator>
      <dc:date>2022-03-15T14:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select centerpoint of slot like joint function</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11008932#M135503</link>
      <description>&lt;P&gt;Thanks for the replies. I should have elaborated more.&lt;/P&gt;&lt;P&gt;I'm indeed&amp;nbsp;&lt;SPAN&gt;trying to joint constraint an object (bolt in example) to that point in an assembly. I have managed to do this on circular edges so far.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I put these user selected edges in a list. After the selection is done the user can hit the place button. On all the selected positions/edges I will place a bolt and joint constrain them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I'm missing is an option to add this slot centerpoint to my list of objects. How can I let the user add this position/point to the list and preferably have this shown in the modelspace like how the joint function works mentioned in my previous post.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Screencast:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://knowledge.autodesk.com/community/screencast/832ff849-71e3-4504-a6ff-7cf177c2f613" target="_blank"&gt;https://knowledge.autodesk.com/community/screencast/832ff849-71e3-4504-a6ff-7cf177c2f613&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:12:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11008932#M135503</guid>
      <dc:creator>julian_sol</dc:creator>
      <dc:date>2022-03-16T14:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select centerpoint of slot like joint function</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11008993#M135506</link>
      <description>&lt;P&gt;If I'm not able to select the point itself I might use your option to get the whole slot (all tangent edges), highlight this for the user and get the point from the edgecollection to place my bolt on. That would probably work too.&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:24:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/select-centerpoint-of-slot-like-joint-function/m-p/11008993#M135506</guid>
      <dc:creator>julian_sol</dc:creator>
      <dc:date>2022-03-16T14:24:29Z</dc:date>
    </item>
  </channel>
</rss>

