<?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: Get all EdgeProxies of a given Edge in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566569#M111779</link>
    <description>&lt;P&gt;I just realized you don't have to send the proxy up through each occurrence of the occurrencepath.&lt;/P&gt;&lt;P&gt;This will do.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #808080;"&gt;'Get a nativeobject for an edge.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartEdgeFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Pick edge."&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;NativeObject&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get the part document the edge belongs to.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get the top level assembly&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get the Assemblys select set.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSelSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SelectSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SelectSet&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Create an ObjectCollection to add all edge proxies to.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;

&lt;SPAN style="color: #808080;"&gt;'Loop through all occurrences of the part.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrence&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPart&lt;/SPAN&gt;)
	&lt;SPAN style="color: #808080;"&gt;'Create a proxy for the edge&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;EdgeProxy&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt;)
	&lt;SPAN style="color: #808080;"&gt;'Add proxy to the object collection&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Select everything in the object collection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oSelSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SelectMultiple&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2020 10:57:47 GMT</pubDate>
    <dc:creator>JhoelForshav</dc:creator>
    <dc:date>2020-06-08T10:57:47Z</dc:date>
    <item>
      <title>Get all EdgeProxies of a given Edge</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566378#M111776</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an assembly containing subassemblies and parts. If i have an part edge, is there a way to get all edgeproxies representing this edge in context of the main assembly? I can circle through all edgeproxies in the assembly context and check if the native object is my edge, but this is very slow.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 08:59:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566378#M111776</guid>
      <dc:creator>Ralf_Krieg</dc:creator>
      <dc:date>2020-06-08T08:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get all EdgeProxies of a given Edge</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566454#M111778</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564136"&gt;@Ralf_Krieg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this maybe? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get a nativeobject for an edge, I dont know where you're getting the edge object from.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartEdgeFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Pick edge."&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;NativeObject&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSelSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SelectSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SelectSet&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrence&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPart&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;EdgeProxy&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;CreateEdgeProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;OccurrencePath&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;)
	&lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oSelSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SelectMultiple&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;CreateEdgeProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOccList&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrencesEnumerator&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Object&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oProx&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Object&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;i&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oOccList&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;To&lt;/SPAN&gt; 1 &lt;SPAN style="color: #ff0000;"&gt;Step&lt;/SPAN&gt; -1
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;i&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oOccList&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Call&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOccList&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;i&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oProx&lt;/SPAN&gt;)
		&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Call&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOccList&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;i&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oProx&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oProx&lt;/SPAN&gt;)
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oProx&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Jun 2020 09:51:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566454#M111778</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-08T09:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get all EdgeProxies of a given Edge</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566569#M111779</link>
      <description>&lt;P&gt;I just realized you don't have to send the proxy up through each occurrence of the occurrencepath.&lt;/P&gt;&lt;P&gt;This will do.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #808080;"&gt;'Get a nativeobject for an edge.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Edge&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartEdgeFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Pick edge."&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;NativeObject&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get the part document the edge belongs to.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parent&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get the top level assembly&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Get the Assemblys select set.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSelSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SelectSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SelectSet&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Create an ObjectCollection to add all edge proxies to.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;

&lt;SPAN style="color: #808080;"&gt;'Loop through all occurrences of the part.&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrence&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPart&lt;/SPAN&gt;)
	&lt;SPAN style="color: #808080;"&gt;'Create a proxy for the edge&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;EdgeProxy&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt;)
	&lt;SPAN style="color: #808080;"&gt;'Add proxy to the object collection&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdgeProx&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Select everything in the object collection&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oSelSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SelectMultiple&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oEdgeCol&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9566569#M111779</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-08T10:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get all EdgeProxies of a given Edge</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9567151#M111787</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. I have integrated your second code. Works perfect. &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 14:55:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/9567151#M111787</guid>
      <dc:creator>Ralf_Krieg</dc:creator>
      <dc:date>2020-06-08T14:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get all EdgeProxies of a given Edge</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/10203357#M122900</link>
      <description>Thanks for this one - took me a while to figure out edgeproxy (:$)</description>
      <pubDate>Thu, 01 Apr 2021 00:30:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/get-all-edgeproxies-of-a-given-edge/m-p/10203357#M122900</guid>
      <dc:creator>sam</dc:creator>
      <dc:date>2021-04-01T00:30:10Z</dc:date>
    </item>
  </channel>
</rss>

