<?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 Need help with Make Path Command in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-help-with-make-path-command/m-p/11064329#M135953</link>
    <description>&lt;P&gt;Need to have certain parts suppressed when a selected parameter = no.&amp;nbsp; This part is at a lower level subassembly. I cannot get my code to work, any insight would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046688iB945000AB568567E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;SENT_VALVE&lt;/SPAN&gt; = &lt;SPAN&gt;"NO"&lt;/SPAN&gt; 
&lt;SPAN&gt;Component&lt;/SPAN&gt;.&lt;SPAN&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN&gt;MakePath&lt;/SPAN&gt;(&lt;SPAN&gt;"UNIT_1"&lt;/SPAN&gt;, &lt;SPAN&gt;"CASING"&lt;/SPAN&gt;, &lt;SPAN&gt;"SV55"&lt;/SPAN&gt;)) = &lt;SPAN&gt;False&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Mar 2022 15:31:11 GMT</pubDate>
    <dc:creator>mr.cadd</dc:creator>
    <dc:date>2022-03-27T15:31:11Z</dc:date>
    <item>
      <title>Need help with Make Path Command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-help-with-make-path-command/m-p/11064329#M135953</link>
      <description>&lt;P&gt;Need to have certain parts suppressed when a selected parameter = no.&amp;nbsp; This part is at a lower level subassembly. I cannot get my code to work, any insight would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046688iB945000AB568567E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;SENT_VALVE&lt;/SPAN&gt; = &lt;SPAN&gt;"NO"&lt;/SPAN&gt; 
&lt;SPAN&gt;Component&lt;/SPAN&gt;.&lt;SPAN&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN&gt;MakePath&lt;/SPAN&gt;(&lt;SPAN&gt;"UNIT_1"&lt;/SPAN&gt;, &lt;SPAN&gt;"CASING"&lt;/SPAN&gt;, &lt;SPAN&gt;"SV55"&lt;/SPAN&gt;)) = &lt;SPAN&gt;False&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 15:31:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-help-with-make-path-command/m-p/11064329#M135953</guid>
      <dc:creator>mr.cadd</dc:creator>
      <dc:date>2022-03-27T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Make Path Command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-help-with-make-path-command/m-p/11064617#M135958</link>
      <description>&lt;P&gt;it looks like you forgot a "then". try it like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;SENT_VALVE&lt;/SPAN&gt; = &lt;SPAN&gt;"NO"&lt;/SPAN&gt; &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Then&lt;/STRONG&gt;&lt;/FONT&gt;
	&lt;SPAN&gt;Component&lt;/SPAN&gt;.&lt;SPAN&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN&gt;MakePath&lt;/SPAN&gt;(&lt;SPAN&gt;"UNIT_1"&lt;/SPAN&gt;, &lt;SPAN&gt;"CASING"&lt;/SPAN&gt;, &lt;SPAN&gt;"SV55"&lt;/SPAN&gt;)) = &lt;SPAN&gt;False&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 21:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/need-help-with-make-path-command/m-p/11064617#M135958</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2022-03-27T21:05:53Z</dc:date>
    </item>
  </channel>
</rss>

