<?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: iLogic rule for constraint suppressed/unsupressed dependant on active part in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455389#M108189</link>
    <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7226519"&gt;@jamieking89&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First create the constraints and name them something like "Plate1_constraint" and "Plate2_constraint"&lt;/P&gt;&lt;P&gt;Add this rule to your assembly:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&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: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Rebuild&lt;/SPAN&gt;
	
	&lt;/PRE&gt;&lt;P&gt;I named the rule ActiveConstraint.&lt;/P&gt;&lt;P&gt;Add a trigger for the rule on Component Suppression Change.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Constraints.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/757039i2508B81071879D52/image-size/large?v=v2&amp;amp;px=999" role="button" title="Constraints.PNG" alt="Constraints.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &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;</description>
    <pubDate>Mon, 20 Apr 2020 08:55:44 GMT</pubDate>
    <dc:creator>JhoelForshav</dc:creator>
    <dc:date>2020-04-20T08:55:44Z</dc:date>
    <item>
      <title>iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455332#M108187</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if anyone could help me with iLogic for constraints. I have an adaptive pipe, which dependant on which one of 2 plates in the assembly is un-suppressed will be constrained to its bottom face.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the ilogic syntax for this? And also is it best to have one constraint from the top of the pipe face which will change what face it is constraint too dependant on&amp;nbsp;what plate&amp;nbsp;is active, or is it best to have 2 constraints one of which is suppressed if the component relating to it&amp;nbsp;is suppressed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have attached the components and assembly also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 08:38:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455332#M108187</guid>
      <dc:creator>jamieking89</dc:creator>
      <dc:date>2020-04-20T08:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455389#M108189</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7226519"&gt;@jamieking89&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First create the constraints and name them something like "Plate1_constraint" and "Plate2_constraint"&lt;/P&gt;&lt;P&gt;Add this rule to your assembly:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;Constraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_constraint"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&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: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Rebuild&lt;/SPAN&gt;
	
	&lt;/PRE&gt;&lt;P&gt;I named the rule ActiveConstraint.&lt;/P&gt;&lt;P&gt;Add a trigger for the rule on Component Suppression Change.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Constraints.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/757039i2508B81071879D52/image-size/large?v=v2&amp;amp;px=999" role="button" title="Constraints.PNG" alt="Constraints.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &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;</description>
      <pubDate>Mon, 20 Apr 2020 08:55:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455389#M108189</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-04-20T08:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455441#M108190</link>
      <description>&lt;P&gt;See attached file &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;</description>
      <pubDate>Mon, 20 Apr 2020 09:11:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455441#M108190</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-04-20T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455461#M108191</link>
      <description>&lt;P&gt;That works great thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you aware if i can do a smilar thing with only using 1 constraint but changing the plate face in the constraint dependant on the suppression of components using ilogic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 09:18:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455461#M108191</guid>
      <dc:creator>jamieking89</dc:creator>
      <dc:date>2020-04-20T09:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455544#M108192</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7226519"&gt;@jamieking89&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy to help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do that but it's much more complex. Try the iLogic code below. You'll have to make a constraint and name it&lt;/P&gt;&lt;P&gt;Plate_Constraint in which the first entity in the constraint is "Top_of_pipe_plane" and the second is one of the planes from your parts.&lt;/P&gt;&lt;P&gt;You should have the same event trigger as before.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&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;oConstraint&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MateConstraint&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Constraints&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate_Constraint"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPlaneProx1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;WorkPlaneProxy&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPlaneProx2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;WorkPlaneProxy&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPlate1&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: #800000;"&gt;oDoc&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;ItemByName&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPlate2&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: #800000;"&gt;oDoc&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;ItemByName&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Call&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPlate1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPlate1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Definition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;WorkPlanes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1_face_plane"&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;oPlaneProx1&lt;/SPAN&gt;)
	&lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ConvertToMateConstraint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;EntityOne&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPlaneProx1&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Offset&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate1:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Component&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2:1"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Call&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPlate2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oPlate2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Definition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;WorkPlanes&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Plate2_face_plane"&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;oPlaneProx2&lt;/SPAN&gt;)
	&lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ConvertToMateConstraint&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;EntityOne&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oPlaneProx2&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Offset&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&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: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Plate_Constraint"&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: #800000;"&gt;Rebuild&lt;/SPAN&gt;
	
	&lt;/PRE&gt;&lt;P&gt;See attached file &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;</description>
      <pubDate>Mon, 20 Apr 2020 09:51:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455544#M108192</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-04-20T09:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455646#M108193</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, that is great. I am trying to expand my ilogic/coding skills with Inventor. This has helped me a great deal. I will have a play around with the slightly more complex version aswell and see how it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:28:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9455646#M108193</guid>
      <dc:creator>jamieking89</dc:creator>
      <dc:date>2020-04-20T10:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9754404#M116040</link>
      <description>&lt;P&gt;That's all fine and dandy but I want to specify a specific component in my assembly and then have it iterate through all the associated relationships and suppress them.&amp;nbsp; &amp;nbsp;I can not find any documentation on how to set a specific component to do a&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;'For each joint attached to THIS SPECIFIC PART go through and suppress the joint if it is not already suppressed.'&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also want to do the same thing with the constraints.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have ffound&amp;nbsp; code but nothing that says 'use this part' and suppress.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 02:39:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9754404#M116040</guid>
      <dc:creator>MCADAEPFW</dc:creator>
      <dc:date>2020-09-18T02:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9754533#M116043</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8939122"&gt;@MCADAEPFW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You want to pick the occurrence and all constraints/joints associated should be suppressed?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&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: #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;kAssemblyOccurrenceFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Pick component"&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;oConstraint&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyConstraint&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Constraints&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oConstraint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&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;oJoint&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyJoint&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Joints&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oJoint&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this answer is not what you're looking for, start a new thread and we'll try to solve your problem there &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; This thread is already solved and your topic isn't really the same &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;</description>
      <pubDate>Fri, 18 Sep 2020 06:27:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9754533#M116043</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-18T06:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule for constraint suppressed/unsupressed dependant on active part</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9755566#M116088</link>
      <description>While that code is what I am looking for I just what to be able to tell the code to use THIS part and suppress all it's constraints without any interaction from the user.&lt;BR /&gt;I've started a thread about this here: &lt;A href="https://forums.autodesk.com/t5/inventor-customization/specify-part-specifically-and-suppress-constraints/td-p/9755553" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/specify-part-specifically-and-suppress-constraints/td-p/9755553&lt;/A&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:58:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-rule-for-constraint-suppressed-unsupressed-dependant-on/m-p/9755566#M116088</guid>
      <dc:creator>MCADAEPFW</dc:creator>
      <dc:date>2020-09-18T14:58:08Z</dc:date>
    </item>
  </channel>
</rss>

