<?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 iLogic ask to choose from list of ID based on OD of tube in Description. in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-ask-to-choose-from-list-of-id-based-on-od-of-tube-in/m-p/8081454#M87549</link>
    <description>&lt;P&gt;I am trying to make ilogic which read the tube size from description and based on that, it ask user to choose from the available sizes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in attached picture that each OD size have different # of ID sizes available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what i would like to have is that when i run the rule, it read the description (which is working perfect) and then based on what code reads, pop up as list of available sizes to choose from for the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2018 21:41:33 GMT</pubDate>
    <dc:creator>Saqib.Iqbal</dc:creator>
    <dc:date>2018-06-20T21:41:33Z</dc:date>
    <item>
      <title>iLogic ask to choose from list of ID based on OD of tube in Description.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-ask-to-choose-from-list-of-id-based-on-od-of-tube-in/m-p/8081454#M87549</link>
      <description>&lt;P&gt;I am trying to make ilogic which read the tube size from description and based on that, it ask user to choose from the available sizes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in attached picture that each OD size have different # of ID sizes available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what i would like to have is that when i run the rule, it read the description (which is working perfect) and then based on what code reads, pop up as list of available sizes to choose from for the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 21:41:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-ask-to-choose-from-list-of-id-based-on-od-of-tube-in/m-p/8081454#M87549</guid>
      <dc:creator>Saqib.Iqbal</dc:creator>
      <dc:date>2018-06-20T21:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic ask to choose from list of ID based on OD of tube in Description.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-ask-to-choose-from-list-of-id-based-on-od-of-tube-in/m-p/8081549#M87550</link>
      <description>&lt;P&gt;I did some googling and read through Inventor API help and following is the code which works good for me. i know i have to make arraylist for each OD size in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSize125&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;ArrayList&lt;/SPAN&gt;
	&lt;SPAN&gt;oSize125&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"0.049"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oSize125&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"0.095"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oSize125&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"0.120"&lt;/SPAN&gt;)

	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oV&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;

	&lt;SPAN&gt;oV&lt;/SPAN&gt; = &lt;SPAN&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Available ID Sizes"&lt;/SPAN&gt;, &lt;SPAN&gt;oSize125&lt;/SPAN&gt;, &lt;SPAN&gt;oSize125&lt;/SPAN&gt;, &lt;SPAN&gt;Title&lt;/SPAN&gt; := &lt;SPAN&gt;"Available Sizes for OD"&lt;/SPAN&gt;, &lt;SPAN&gt;ListName&lt;/SPAN&gt; := &lt;SPAN&gt;"Please choose one of the following available ID sizes for OD        ."&lt;/SPAN&gt;)

	&lt;SPAN&gt;oContents&lt;/SPAN&gt;(1) = &lt;SPAN&gt;"1.250 X "&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oV&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" J524"&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jun 2018 23:01:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-ask-to-choose-from-list-of-id-based-on-od-of-tube-in/m-p/8081549#M87550</guid>
      <dc:creator>Saqib.Iqbal</dc:creator>
      <dc:date>2018-06-20T23:01:17Z</dc:date>
    </item>
  </channel>
</rss>

