<?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: Add constraint with ilogic without naming the geometry of the parts possible? in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10669392#M129646</link>
    <description>&lt;P&gt;Thanks for the advice. I think with the use of existing planes and coordinate systems I get further in some situations.&lt;/P&gt;&lt;P&gt;Nevertheless, the actual question still remains for me:&lt;/P&gt;&lt;P&gt;If I manually create a constraint in an assembly, it will be created and saved uniquely in the assembly, without having to edit the parts themselves. This behavior must be be reproduceable somehow by script, right?&lt;/P&gt;&lt;P&gt;The used geometries of the parts must already present a unique object in the file even without that I assign a name to it manually before.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 05:56:59 GMT</pubDate>
    <dc:creator>assbuild</dc:creator>
    <dc:date>2021-10-06T05:56:59Z</dc:date>
    <item>
      <title>Add constraint with ilogic without naming the geometry of the parts possible?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10665988#M129582</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;is it possible to define a constraint in an assembly with an iLogic rule without having defined the geometries within the parts before?&lt;/P&gt;&lt;P&gt;I Use the code snipped like:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;Constraints&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;AddMate&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Mate1"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Part1:1"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Work Plane1"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Part2:1"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Work Plane1"&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;offset&lt;/SPAN&gt; := 0.0, &lt;SPAN style="color: #800000;"&gt;e1InferredType&lt;/SPAN&gt; := &lt;SPAN style="color: #800000;"&gt;InferredTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kNoInference&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;e2InferredType&lt;/SPAN&gt; := &lt;SPAN style="color: #800000;"&gt;InferredTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kNoInference&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;solutionType&lt;/SPAN&gt; := &lt;SPAN style="color: #800000;"&gt;MateConstraintSolutionTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kNoSolutionType&lt;/SPAN&gt;,
                    &lt;SPAN style="color: #800000;"&gt;biasPoint1&lt;/SPAN&gt; := &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;biasPoint2&lt;/SPAN&gt; := &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;This works fine as long as I´m able to name the used geometry within my parts. But as I´m working within a Vault invoronment with a lot "released" parts or parts from content center, it is not possible to name the geometry within the parts since i am not supposed to work on the parts themselves.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m working with Inventor 2020 at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About help or workarounds I would be very grateful!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ole&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 19:52:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10665988#M129582</guid>
      <dc:creator>assbuild</dc:creator>
      <dc:date>2021-10-04T19:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add constraint with ilogic without naming the geometry of the parts possible?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10666101#M129584</link>
      <description>&lt;P&gt;Yes there is, I just ran into this issue when using sub assembly's inside of an a bigger assembly. I believe you need to use work planes and work axis to do what you want to do. Give that a try at least not sure how it will work with vault but id be interested to see.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 20:54:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10666101#M129584</guid>
      <dc:creator>JamesMeBoi</dc:creator>
      <dc:date>2021-10-04T20:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add constraint with ilogic without naming the geometry of the parts possible?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10669392#M129646</link>
      <description>&lt;P&gt;Thanks for the advice. I think with the use of existing planes and coordinate systems I get further in some situations.&lt;/P&gt;&lt;P&gt;Nevertheless, the actual question still remains for me:&lt;/P&gt;&lt;P&gt;If I manually create a constraint in an assembly, it will be created and saved uniquely in the assembly, without having to edit the parts themselves. This behavior must be be reproduceable somehow by script, right?&lt;/P&gt;&lt;P&gt;The used geometries of the parts must already present a unique object in the file even without that I assign a name to it manually before.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 05:56:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10669392#M129646</guid>
      <dc:creator>assbuild</dc:creator>
      <dc:date>2021-10-06T05:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add constraint with ilogic without naming the geometry of the parts possible?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10673144#M129759</link>
      <description>&lt;P&gt;It is possible, but may require either more work, or an equivalent amount of work to actually creating the constraints manually, because you still have to find and identify the entities within the assembly that you want to constrain together one way or another.&amp;nbsp; You either have to know something unique about what you are searching for, or you have to make/create something unique about what you're searching for, in order to find it.&amp;nbsp; To incorporate something like Pick or manual selection would pretty much negate most of the automation advantage of the rule.&amp;nbsp; One thing I've seen folks do is assign attributes to the proxy objects in the assembly that they will be constraining to/between ahead of time (similar to 'named entities' but without user interface tool).&amp;nbsp; However, that also requires you to either use one of the available add-ins, a macro, or a rule to help you assign the names, and some manual selections, which also seems like it would be practically eliminating the advantage of the automation later.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 13:19:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/add-constraint-with-ilogic-without-naming-the-geometry-of-the/m-p/10673144#M129759</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-10-07T13:19:45Z</dc:date>
    </item>
  </channel>
</rss>

