<?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: Inventor Thread Size iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8968509#M109745</link>
    <description>&lt;P&gt;I am still getting an error code when changing from one diameter of bolt to another that there was an error building the thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way that I can make the rule run automatically when I change bolt diameters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using iTriggers to run the rule after parameters have changed, but it's still spitting out the error code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2019 18:03:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-15T18:03:01Z</dc:date>
    <item>
      <title>Inventor Thread Size iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8943033#M109743</link>
      <description>&lt;P&gt;I'm looking to make custom bolts, with threads of different sizes (bolt diameter), and I've seen at least one other forum post and it seemed the easy answer was to make multiple different iParts, one for each different bolt diameter.&amp;nbsp; I'm pretty new to iLogic, but it seems to me that it is capable of handling this in one iPart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've put in this If-Then rule, and it runs without issue at first, but when switching to the different diameter of bolt it still gives the error code that "Problems occurred while building this Thread: Inappropriate Thread Size".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone shed any light on this?&amp;nbsp; If it's not possible, I suppose we can just have different iParts for each bolt diameter.&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If dia = 0.5 in Then&lt;BR /&gt;Feature.ThreadDesignation("Thread1") = "1/2-13 UNC"&lt;BR /&gt;&lt;BR /&gt;Else If dia = 0.625 in Then&lt;BR /&gt;Feature.ThreadDesignation("Thread1") = "5/8-11 UNC"&lt;/P&gt;&lt;P&gt;Else If dia = 0.75 in Then&lt;BR /&gt;Feature.ThreadDesignation("Thread1") = "3/4-10 UNC"&lt;BR /&gt;&lt;BR /&gt;Else If dia = 0.875 in Then&lt;BR /&gt;Feature.ThreadDesignation("Thread1") = "7/8-9 UNC"&lt;BR /&gt;&lt;BR /&gt;Else If dia = 1 in Then&lt;BR /&gt;Feature.ThreadDesignation("Thread1") = "1-8 UNC"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End If&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 13:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8943033#M109743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-01T13:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Thread Size iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8943344#M109744</link>
      <description>&lt;P&gt;Hi, Your rule has not given me problems.&lt;BR /&gt;Only I have to tell you some things, I have added some lines to activate or deactivate the thread, if it is not in the defined ranges. Because otherwise I would give error.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&lt;/SPAN&gt;)= &lt;SPAN&gt;True&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;dia&lt;/SPAN&gt; = 0.5 in     &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;ThreadDesignation&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&lt;/SPAN&gt;) = &lt;SPAN&gt;"1/2-13 UNC"&lt;/SPAN&gt;

&lt;SPAN&gt;Else&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;dia&lt;/SPAN&gt; = 0.625 in  &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Message"&lt;/SPAN&gt;, &lt;SPAN&gt;"Title"&lt;/SPAN&gt;)

&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;ThreadDesignation&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&lt;/SPAN&gt;) = &lt;SPAN&gt;"5/8-11 UNC"&lt;/SPAN&gt;

&lt;SPAN&gt;Else&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;dia&lt;/SPAN&gt; = 0.75 in &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;ThreadDesignation&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&lt;/SPAN&gt;) = &lt;SPAN&gt;"3/4-10 UNC"&lt;/SPAN&gt;

&lt;SPAN&gt;Else&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;dia&lt;/SPAN&gt; = 0.875 in &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;ThreadDesignation&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&lt;/SPAN&gt;) = &lt;SPAN&gt;"7/8-9 UNC"&lt;/SPAN&gt;

&lt;SPAN&gt;Else&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;dia&lt;/SPAN&gt; = 1 in &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;ThreadDesignation&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&lt;/SPAN&gt;) = &lt;SPAN&gt;"1-8 UNC"&lt;/SPAN&gt;
&lt;SPAN&gt;Else&lt;/SPAN&gt;
	&lt;SPAN&gt;Feature&lt;/SPAN&gt;.&lt;SPAN&gt;IsActive&lt;/SPAN&gt;(&lt;SPAN&gt;"Thread1"&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;&lt;BR /&gt;On the other hand, understand the difference with ipart and make an ilogic component, if you need many instances of the different measures component, with ilogic you cannot do it with the same part. You will need to copy the file with a new name and configure this new file for your need. If you face this case, a ipart would be a better solution.&lt;BR /&gt;I hope I have been clear, and this can help with your problem. regards&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 15:31:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8943344#M109744</guid>
      <dc:creator>Sergio.D.Suárez</dc:creator>
      <dc:date>2019-08-01T15:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Thread Size iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8968509#M109745</link>
      <description>&lt;P&gt;I am still getting an error code when changing from one diameter of bolt to another that there was an error building the thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way that I can make the rule run automatically when I change bolt diameters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using iTriggers to run the rule after parameters have changed, but it's still spitting out the error code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 18:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8968509#M109745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T18:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Thread Size iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8968518#M109746</link>
      <description>&lt;P&gt;Here is my part...&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 18:08:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-thread-size-ilogic/m-p/8968518#M109746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T18:08:31Z</dc:date>
    </item>
  </channel>
</rss>

