<?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: Suppress InputListBox for this session of specific Save action in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10573468#M128109</link>
    <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10459476"&gt;@cnoJTCG6&lt;/a&gt;.&amp;nbsp; I can't currently think of any way to check if an Inventor Part document originated from a STEP file, unless maybe it is still associatively linked to that STEP file, which I believe is a relatively new ability.&amp;nbsp; And as far as suppressing that InputListBox (but not the rule its in) for specifically the rest of the current Inventor Session, may be difficult to set-up, but may not be impossible.&amp;nbsp; Are you familiar with the SharedVariable objects in iLogic?&amp;nbsp; There are 'snippets' for using them within the 'System' group of the iLogic Rule Editor's Snippets, under the group called 'Variables'.&amp;nbsp; They are a way to store simple data into Inventor's 'session memory', which will remain only until either you specifically remove it using one of the other snippets, or you close your current session of Inventor.&amp;nbsp; If you created one of these with an obvious name, then gave it a Boolean (True/False) type Value, you could then have that rule check for this SharedVariable and/or its value, just before showing that InputListBox.&amp;nbsp; If it is found and/or its Value is what's expected, then don't show the InputListBox, otherwise show it.&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;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&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;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B166FEBB95D67CFA84899D32D8E17FC1/emoticons/1f4a1.png" alt=":light_bulb:" title=":light_bulb:" /&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>Wed, 25 Aug 2021 18:29:34 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2021-08-25T18:29:34Z</dc:date>
    <item>
      <title>Suppress InputListBox for this session of specific Save action</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10573418#M128107</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put an InputListBox in a rule who comes up when the iProperty 'Fabrication' does not exist and asked the user to input a value.&lt;/P&gt;&lt;P&gt;This is very useful for Parts and Assemblies drawn by ourselves.&lt;BR /&gt;However, for step files that we import an unpack it is unnecessary.&lt;BR /&gt;Can I check if an ipt or iam file that is going to be saved has a step file as its origin in order to suppress the message?&lt;/P&gt;&lt;P&gt;And, second question, is it possible to suppress the message for 'This Inventor session' or this specific save action?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Aug 2021 18:00:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10573418#M128107</guid>
      <dc:creator>cnoJTCG6</dc:creator>
      <dc:date>2021-08-25T18:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress InputListBox for this session of specific Save action</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10573468#M128109</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10459476"&gt;@cnoJTCG6&lt;/a&gt;.&amp;nbsp; I can't currently think of any way to check if an Inventor Part document originated from a STEP file, unless maybe it is still associatively linked to that STEP file, which I believe is a relatively new ability.&amp;nbsp; And as far as suppressing that InputListBox (but not the rule its in) for specifically the rest of the current Inventor Session, may be difficult to set-up, but may not be impossible.&amp;nbsp; Are you familiar with the SharedVariable objects in iLogic?&amp;nbsp; There are 'snippets' for using them within the 'System' group of the iLogic Rule Editor's Snippets, under the group called 'Variables'.&amp;nbsp; They are a way to store simple data into Inventor's 'session memory', which will remain only until either you specifically remove it using one of the other snippets, or you close your current session of Inventor.&amp;nbsp; If you created one of these with an obvious name, then gave it a Boolean (True/False) type Value, you could then have that rule check for this SharedVariable and/or its value, just before showing that InputListBox.&amp;nbsp; If it is found and/or its Value is what's expected, then don't show the InputListBox, otherwise show it.&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;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&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;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B166FEBB95D67CFA84899D32D8E17FC1/emoticons/1f4a1.png" alt=":light_bulb:" title=":light_bulb:" /&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>Wed, 25 Aug 2021 18:29:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10573468#M128109</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-08-25T18:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress InputListBox for this session of specific Save action</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10574591#M128127</link>
      <description>&lt;P&gt;SharedVariable concept is great, when you need to share values between rules or for a long time (Inventor session). But for this case is it possible to use just shared variable in this rule. This shared variable lifetime is until you edit or regenerate the rule.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sub main
	If disabled Then Return
		
	Dim result = InputListBox("prompt", New String() {"a", "b", "disable" }, "a", "title", "list name")
	MsgBox(result)
	
	If result = "disable" Then
		disabled = True
		MsgBox("DISABLED BY USER")
	End If

End Sub
Shared disabled As Boolean = False&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 05:58:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10574591#M128127</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2021-08-26T05:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress InputListBox for this session of specific Save action</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10577481#M128178</link>
      <description>&lt;P&gt;Thanks for your response,&amp;nbsp;I'm going to check it out and try.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 05:29:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/suppress-inputlistbox-for-this-session-of-specific-save-action/m-p/10577481#M128178</guid>
      <dc:creator>checkcheck_master</dc:creator>
      <dc:date>2021-08-27T05:29:50Z</dc:date>
    </item>
  </channel>
</rss>

