<?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: Automatically iMate connection upon placement? Help!! in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10840495#M132948</link>
    <description>&lt;P&gt;You can do it like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #9d6bce;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #9d6bce;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;occurrences&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Occurrences&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;' Summary:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Method that adds a new occurrence into the assembly. This method is the equivalent&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     of using the Place Component command with the "Use iMate" check box checked.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     The method returns a failure if no matches are found.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;' Parameters:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'   FullDocumentName:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Input string that specifies the full document name of the part or the sub-assembly.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     If only the FullFileName is specified, the master document within the file is&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     used.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'   PlaceAllMatching:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Optional input Boolean that indicates whether to place multiple components corresponding&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     to all iMate definition matches in the assembly. If specified to be True, multiple&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     ComponentOccurrences could be returned. If specified to be False, a single ComponentOccurrence&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     corresponding to the first match is returned.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'   Options:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Input NameValueMap object that specifies additional options for creating the&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     occurrence. (An empty NameValueMap object can be provided). See Remarks for valid&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     options.&lt;/SPAN&gt;
&lt;SPAN style="color: #db9652;"&gt;occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;AddUsingiMates&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;FullDocumentName&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Dec 2021 22:15:51 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2021-12-23T22:15:51Z</dc:date>
    <item>
      <title>Automatically iMate connection upon placement? Help!!</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10840422#M132946</link>
      <description>&lt;P&gt;I'm trying to figure out how to access Inventors functionality to place components automatically using iMates.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="munderwood4GRE6_0-1640293421760.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1004505i5B04364B39910409/image-size/medium?v=v2&amp;amp;px=400" role="button" title="munderwood4GRE6_0-1640293421760.png" alt="munderwood4GRE6_0-1640293421760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This works when placing them using the button and window. But I'm trying to place them through factory. They come in with the connectors. I just don't know how to use iLogic to tell the matching iMates to connect.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 21:05:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10840422#M132946</guid>
      <dc:creator>munderwood4GRE6</dc:creator>
      <dc:date>2021-12-23T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically iMate connection upon placement? Help!!</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10840495#M132948</link>
      <description>&lt;P&gt;You can do it like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #9d6bce;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #9d6bce;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;occurrences&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Occurrences&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;' Summary:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Method that adds a new occurrence into the assembly. This method is the equivalent&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     of using the Place Component command with the "Use iMate" check box checked.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     The method returns a failure if no matches are found.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;' Parameters:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'   FullDocumentName:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Input string that specifies the full document name of the part or the sub-assembly.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     If only the FullFileName is specified, the master document within the file is&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     used.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'   PlaceAllMatching:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Optional input Boolean that indicates whether to place multiple components corresponding&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     to all iMate definition matches in the assembly. If specified to be True, multiple&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     ComponentOccurrences could be returned. If specified to be False, a single ComponentOccurrence&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     corresponding to the first match is returned.&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'   Options:&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     Input NameValueMap object that specifies additional options for creating the&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     occurrence. (An empty NameValueMap object can be provided). See Remarks for valid&lt;/SPAN&gt;
&lt;SPAN style="color: #b2b2b5;"&gt;'     options.&lt;/SPAN&gt;
&lt;SPAN style="color: #db9652;"&gt;occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;AddUsingiMates&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;FullDocumentName&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Dec 2021 22:15:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10840495#M132948</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-12-23T22:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically iMate connection upon placement? Help!!</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10848051#M133006</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7848294"&gt;@munderwood4GRE6&lt;/a&gt;&amp;nbsp;you can also read more on imates with ilogic here&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-129E0198-3698-4941-BF02-AA823DC266EE" target="_blank"&gt;Inventor 2022 Help | Add assembly mate constraint | Autodesk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-5A33BE64-AF71-471D-9AED-35A9E0000675" target="_blank"&gt;Inventor 2022 Help | Add iMate Definition | Autodesk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-ADA8B95E-F022-4AAC-9C27-2B003B5A6362" target="_blank"&gt;Inventor 2022 Help | iMate Creation During Occurrence Placement | Autodesk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 10:18:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/automatically-imate-connection-upon-placement-help/m-p/10848051#M133006</guid>
      <dc:creator>fidel.makatiaD5W7V</dc:creator>
      <dc:date>2021-12-29T10:18:21Z</dc:date>
    </item>
  </channel>
</rss>

