<?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 Inventor Ilogic multiple selection window in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205564#M51367</link>
    <description>&lt;P&gt;I am wanting some help creating an Ilogic rule to allow me to pick multiple selections and select "OK" once and having the popup window close upon selecting "OK".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currenly am required to pick my selection and press okay individually for each selection and am required to press the X to have the code work each selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is a snip of my current selection window and the code that completes it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to be able to do is have a multiple selection (yes/no) selection for each selection within 1 window.&lt;/P&gt;&lt;P&gt;see the microsoft paint visual of what I am wanting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amelhus_0-1617299605731.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/901277i8020AF8201B5CE47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amelhus_0-1617299605731.png" alt="amelhus_0-1617299605731.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amelhus_1-1617300124943.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/901282i47A2722C473EBFB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amelhus_1-1617300124943.png" alt="amelhus_1-1617300124943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTypes_Array&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;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 1"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 2"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 3"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 4"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 5"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 6"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 7"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 8"&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSelected&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;While&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt; 
	&lt;SPAN&gt;oTypes_Selected&lt;/SPAN&gt; = &lt;SPAN&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECT TYPE:"&lt;/SPAN&gt;, &lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;, &lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;(0), &lt;SPAN&gt;oRuleNo&lt;/SPAN&gt;, &lt;SPAN&gt;X_oProp_Array&lt;/SPAN&gt;)
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;IsNothing&lt;/SPAN&gt; (&lt;SPAN&gt;oTypes_Selected&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt; &lt;SPAN&gt;Exit&lt;/SPAN&gt; &lt;SPAN&gt;While&lt;/SPAN&gt; 
	&lt;SPAN&gt;oSelected&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oTypes_Selected&lt;/SPAN&gt;)	
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;While&lt;/SPAN&gt; 

	&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oText&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oSelected&lt;/SPAN&gt;
		
	
 &lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;oText&lt;/SPAN&gt;, &lt;SPAN&gt;"Selected items"&lt;/SPAN&gt;)
		
	&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 18:04:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-01T18:04:47Z</dc:date>
    <item>
      <title>Inventor Ilogic multiple selection window</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205564#M51367</link>
      <description>&lt;P&gt;I am wanting some help creating an Ilogic rule to allow me to pick multiple selections and select "OK" once and having the popup window close upon selecting "OK".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currenly am required to pick my selection and press okay individually for each selection and am required to press the X to have the code work each selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is a snip of my current selection window and the code that completes it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to be able to do is have a multiple selection (yes/no) selection for each selection within 1 window.&lt;/P&gt;&lt;P&gt;see the microsoft paint visual of what I am wanting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amelhus_0-1617299605731.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/901277i8020AF8201B5CE47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amelhus_0-1617299605731.png" alt="amelhus_0-1617299605731.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amelhus_1-1617300124943.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/901282i47A2722C473EBFB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amelhus_1-1617300124943.png" alt="amelhus_1-1617300124943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTypes_Array&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;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 1"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 2"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 3"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 4"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 5"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 6"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 7"&lt;/SPAN&gt;)
&lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECTION 8"&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSelected&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;While&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt; 
	&lt;SPAN&gt;oTypes_Selected&lt;/SPAN&gt; = &lt;SPAN&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN&gt;"SELECT TYPE:"&lt;/SPAN&gt;, &lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;, &lt;SPAN&gt;oTypes_Array&lt;/SPAN&gt;(0), &lt;SPAN&gt;oRuleNo&lt;/SPAN&gt;, &lt;SPAN&gt;X_oProp_Array&lt;/SPAN&gt;)
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;IsNothing&lt;/SPAN&gt; (&lt;SPAN&gt;oTypes_Selected&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt; &lt;SPAN&gt;Exit&lt;/SPAN&gt; &lt;SPAN&gt;While&lt;/SPAN&gt; 
	&lt;SPAN&gt;oSelected&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oTypes_Selected&lt;/SPAN&gt;)	
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;While&lt;/SPAN&gt; 

	&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oText&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oSelected&lt;/SPAN&gt;
		
	
 &lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;oText&lt;/SPAN&gt;, &lt;SPAN&gt;"Selected items"&lt;/SPAN&gt;)
		
	&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 18:04:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205564#M51367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-01T18:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Ilogic multiple selection window</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205876#M51368</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may be able to do this with an iLogic form and boolean(true/false) parameter. But this will involve &amp;nbsp;having more parameters in your file and not in your code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input box is pretty basic in ilogic you would need to do everything in a linear method with yes/no after each single selection in the input box . So not an ideal way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would need to create a VBA form and &amp;nbsp;or windows form through vb.net to do the setup as you needed.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you want to move this post over to the customization forum more experience user would have more input.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 20:19:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205876#M51368</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-04-01T20:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Ilogic multiple selection window</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205984#M51369</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7946284"&gt;@A.Acheson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to avoid needing to input anything within the file and keep this entirely external. I would assume there is a way to create stand alone &lt;SPAN&gt;boolean variables within the logic itself. But I am far from good at coding or programming to be able to understand how that would work from base 0. (if you can consider what I do programming)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also figured I would need to extend beyond the Ilogic sphere and explore the base VBA coding to fully encompass my base inquiry. I just didn't know where to go, and google was only getting me so far.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I just include a tag &lt;STRONG&gt;"customization"&lt;/STRONG&gt; on my post to get it over to that forum?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for giving me a hand!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 21:03:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10205984#M51369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-01T21:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Ilogic multiple selection window</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10206135#M51370</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am probably in the same boat as you so. My Knowledge could&amp;nbsp; be more described as hacking more than anything else lol. If you google VBA forms and search excel VBA Tutorial in Form creation&amp;nbsp; before you bring it in to Inventor VBA Editor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/486618"&gt;@johnsonshiue&lt;/a&gt;&amp;nbsp; Should be able to switch it over to the customization forum when he gets a chance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 22:31:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10206135#M51370</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-04-01T22:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor Ilogic multiple selection window</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10207864#M51371</link>
      <description>&lt;P&gt;Hi @Anonymous.&amp;nbsp; There is a way to do it all in one iLogic rule, without needing to create separate iLogic Form/VBA UserForm, but it would require a lot more code than you may be comfortable with.&amp;nbsp; I have created some iLogic rules before that included:&amp;nbsp; creating its own Windows Form, setting its content (seen and unseen), and specifies what to do when things happen to the form.&amp;nbsp;&amp;nbsp; I haven't created one like you are talking about yet, but it certainly sounds doable.&amp;nbsp; &lt;A href="https://knowledge.autodesk.com/community/article/328361" target="_blank" rel="noopener"&gt;Here is a link to one of my contribution posts&lt;/A&gt; that 'attempts' to show you how to make your own Windows Form within an iLogic rule.&lt;/P&gt;&lt;P&gt;However, if that sounds like too much complication and code, I'm thinking the next easiest way to make it happen is with the VBA Userform as &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7946284"&gt;@A.Acheson&lt;/a&gt; suggested.&amp;nbsp; They aren't nearly as simple to create &amp;amp; use as an iLogic form, but the iLogic form simply lacks the needed functionality to be able to supply it all the options without creating a bunch of local iProperties or Parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;If you want and have time, I would appreciate your Vote(s) for &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank"&gt;My IDEAS &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/SPAN&gt;&lt;/A&gt;or you can Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 16:16:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/inventor-ilogic-multiple-selection-window/m-p/10207864#M51371</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-04-02T16:16:49Z</dc:date>
    </item>
  </channel>
</rss>

