<?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: iLogic form multi-value parameter does not update in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12704940#M11346</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7983840"&gt;@Pav3L&lt;/a&gt;.&amp;nbsp; You have several different things going on in that rule, and are using several different 'iLogic tools' in the process that each 'update' a bit differently.&amp;nbsp; It sounds a bit like the model is simply not getting the updated values sent to it, then updated, when you expect it to.&amp;nbsp; There are a few 'preparatory' lines you may need to add to the beginning of your rule, and a couple we could add to the end of it too, depending on your preferences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following two lines are for placing near the start of your code (before using the 'Parameter' or 'MultiValue' iLogic objects), and are for causing changes made with those two objects later in the code to cause an update whichever document those objects are being used to edit.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Parameter.UpdateAfterChange = True
MultiValue.UpdateAfterChange = True&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following line of code should be used after any portion of your code that has changed the value of one of the 'blue', unquoted parameter names, to force that change to be immediately pushed to 'the model'.&amp;nbsp; It is often only needed once, at or near the end of the rule, but sometimes if later calculations depend on earlier ones, it may be used between things.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;RuleParametersOutput&lt;/LI-CODE&gt;
&lt;P&gt;After that line of code, if there is no other 'mechanisms' in place for updating the document at the end, then it is almost always a good idea to use one of the many lines of code that will force the Document to update immediately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following line is a very common iLogic snippet for causing an immediate document update.&amp;nbsp; You will notice once again that it contains no 'specification' for which document to update, so it tries to figure it out, and can be different in different scenarios.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;InventorVb.DocumentUpdate()&lt;/LI-CODE&gt;
&lt;P&gt;One of my favorites though is a true Inventor API method, where the 'oDoc' shown below is a variable that you may have created earlier in the code, and represents the Document object that this rule is focused on.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;oDoc.Update2(True)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2024 15:26:45 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2024-04-12T15:26:45Z</dc:date>
    <item>
      <title>iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12704346#M11345</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a multi-value parameter "MG_Steel_Grade" and based on what I select another multi-value parameter "MG_PT001" is populated with data from an Excel table and a particular value should be displayed.&lt;/P&gt;&lt;P&gt;The problem is that about half the time the particular value of "MG_PT001" is not updated/changed and remains unchanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Values in the "MG_Steel_Grade" parameter are:&lt;/P&gt;&lt;P&gt;1)S235&amp;nbsp; 2)S355&amp;nbsp; 3)WNr. 1.4301, AISI 304&amp;nbsp; 4)WNr. 1.4571, AISI 316 Ti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values for the "MG_PT001" parameter are taken from an Excel table embedded in the assembly, screenshot of the Excel table is attached.&lt;/P&gt;&lt;P&gt;For S235 and S355 the options are in column A, for WNr. 1.4301, AISI 304 and 4. WNr. 1.4571 AISI 316 Ti the options are in column D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default if I choose S235 the "MG_PT001" parameter should show EN10025 S235JR.&lt;/P&gt;&lt;P&gt;For S355 it should show EN10025 S355J2 and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when I switch from S235 or S355 to any WNr. and vice versa the "MG_PT001" gets updated/changed correctly, but when I switch from S235 to S355 the "MG_PT001" is not updated and the value remains the same as it was for S235.&lt;/P&gt;&lt;P&gt;This also applies for switching from WNr. 1.4301, AISI 304 to WNr. 1.4571, AISI 316 Ti and vice versa, the value of "MG_PT001" remains unchanged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is example on a 1 min youtube video&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=pLD1fXoNAwU" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=pLD1fXoNAwU&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what to do or if this is a strange behaviour of Inventor... is there a way to fix it?&lt;/P&gt;&lt;P&gt;In a forum post I found this line of code "MultiValue.UpdateAfterChange = True" but it does not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rule looks like this and example files are attached.&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim Indx_PT001 As Integer
Dim ExcMin As String
Dim ExcMax As String

Select Case MG_Steel_Grade
	Case "S235"
		Indx_PT001 = 0
		ExcMin = "A2"
		ExcMax = "A10"
	Case "S355"
		Indx_PT001 = 1
		ExcMin = "A2"
		ExcMax = "A10"
	Case "WNr. 1.4301, AISI 304"
		Indx_PT001 = 0
		ExcMin = "D2"
		ExcMax = "D10"
	Case "WNr. 1.4571, AISI 316 Ti"
		Indx_PT001 = 4
		ExcMin = "D2"
		ExcMax = "D10"
End Select

If Component.IsActive("PT001") = True Then
	Select Case Parameter("Type")
		Case "Boss"
			MultiValue.SetValueOptions(True, DefaultIndex := Indx_PT001)
			MultiValue.List("MG_PT001") = GoExcel.CellValues("3rd Party:Material_Table", "Material_Solid_Bars", ExcMin, ExcMax)
		Case "Tube"
			MultiValue.SetValueOptions(True, DefaultIndex := Indx_PT001)
			MultiValue.List("MG_PT001") = GoExcel.CellValues("3rd Party:Material_Table", "Material_Tubes", ExcMin, ExcMax)
		Case "Washer"
			MultiValue.SetValueOptions(True, DefaultIndex := 5)
			MultiValue.List("MG_PT001") = GoExcel.CellValues("3rd Party:Material_Table", "Material_Solid_Bars", ExcMin, ExcMax)
	End Select
	Parameter("PT001", "Mat_Grade") = MG_PT001
End If&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 12:22:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12704346#M11345</guid>
      <dc:creator>Pav3L</dc:creator>
      <dc:date>2024-04-12T12:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12704940#M11346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7983840"&gt;@Pav3L&lt;/a&gt;.&amp;nbsp; You have several different things going on in that rule, and are using several different 'iLogic tools' in the process that each 'update' a bit differently.&amp;nbsp; It sounds a bit like the model is simply not getting the updated values sent to it, then updated, when you expect it to.&amp;nbsp; There are a few 'preparatory' lines you may need to add to the beginning of your rule, and a couple we could add to the end of it too, depending on your preferences.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following two lines are for placing near the start of your code (before using the 'Parameter' or 'MultiValue' iLogic objects), and are for causing changes made with those two objects later in the code to cause an update whichever document those objects are being used to edit.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Parameter.UpdateAfterChange = True
MultiValue.UpdateAfterChange = True&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following line of code should be used after any portion of your code that has changed the value of one of the 'blue', unquoted parameter names, to force that change to be immediately pushed to 'the model'.&amp;nbsp; It is often only needed once, at or near the end of the rule, but sometimes if later calculations depend on earlier ones, it may be used between things.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;RuleParametersOutput&lt;/LI-CODE&gt;
&lt;P&gt;After that line of code, if there is no other 'mechanisms' in place for updating the document at the end, then it is almost always a good idea to use one of the many lines of code that will force the Document to update immediately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following line is a very common iLogic snippet for causing an immediate document update.&amp;nbsp; You will notice once again that it contains no 'specification' for which document to update, so it tries to figure it out, and can be different in different scenarios.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;InventorVb.DocumentUpdate()&lt;/LI-CODE&gt;
&lt;P&gt;One of my favorites though is a true Inventor API method, where the 'oDoc' shown below is a variable that you may have created earlier in the code, and represents the Document object that this rule is focused on.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;oDoc.Update2(True)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 15:26:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12704940#M11346</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-04-12T15:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12705324#M11347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;the thing is, I am only working with two multi-value parameters in the main assembly, they are not used anywhere in the model yet, that will come later, I wanted to test if this part will work first.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;I can and will remove some code from the rule to make it &lt;SPAN class=""&gt;easier to test&lt;/SPAN&gt;, but it still does not behave as I would like.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I tried adding the lines below literally everywhere in the rule, since I knew about these lines of code before your reply, but still to no effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RuleParametersOutput()
MultiValue.UpdateAfterChange = True
InventorVb.DocumentUpdate()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Only the one below is new to me, but adding it did not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Parameter.UpdateAfterChange = True&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;One of my favorites though is a true Inventor API method, where the 'oDoc' shown below is a variable that you may have created earlier in the code, and represents the Document object that this rule is focused on.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;oDoc.Update2(True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The rule I posted before is all &lt;SPAN class=""&gt;there&lt;/SPAN&gt; is to it, there is no hidden part or anything after it. &lt;/SPAN&gt;&lt;SPAN class=""&gt;I &lt;SPAN class=""&gt;am&lt;/SPAN&gt; not &lt;SPAN class=""&gt;using&lt;/SPAN&gt; the line below or &lt;SPAN class=""&gt;anything like it&lt;/SPAN&gt; in the rule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;oDoc = ThisApplication.ActiveDocument&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;To&lt;/SPAN&gt; repeat, the &lt;FONT color="#0000FF"&gt;&lt;SPAN class=""&gt;MG_Steel_Grade&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;parameter has &lt;SPAN class=""&gt;the following&lt;/SPAN&gt; values&amp;nbsp; 1) &lt;FONT color="#00FF00"&gt;&lt;FONT color="#339966"&gt;S235&lt;/FONT&gt;&amp;nbsp; &lt;/FONT&gt;2) &lt;FONT color="#339966"&gt;S355&amp;nbsp;&lt;/FONT&gt; 3) &lt;FONT color="#339966"&gt;WNr. 1.4301, AISI 304&amp;nbsp;&lt;/FONT&gt; 4) &lt;FONT color="#339966"&gt;WNr. 1.4571, AISI 316 Ti.&lt;/FONT&gt; These are the &lt;FONT color="#0000FF"&gt;case&lt;/FONT&gt; lines of the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;One thing I do not understand is that the rule partially &lt;/SPAN&gt;works fine&lt;SPAN&gt;, even with absolutely zero of the &lt;/SPAN&gt;above&lt;SPAN&gt; update lines&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It works &lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;fine&lt;/STRONG&gt; if&lt;/SPAN&gt;&lt;SPAN&gt; I change the &lt;FONT color="#0000FF"&gt;MG_Steel_Grade&lt;/FONT&gt; from 1) to 3) or 1) to 4) or 2) to 3) or 2) to 4) and vice versa&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;It does not work&lt;/STRONG&gt;, when I change the &lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;MG_Steel_Grade&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;from 1) to 2) or 3) to 4) and vice versa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;Another way to explain it. &lt;/SPAN&gt;&lt;SPAN class=""&gt;It works ok when the &lt;FONT color="#0000FF"&gt;MG_Steel_Grade&lt;/FONT&gt; parameter is changed &lt;SPAN class=""&gt;so&lt;/SPAN&gt; that the data from the &lt;SPAN class=""&gt;Excel&lt;/SPAN&gt; table &lt;SPAN class=""&gt;is&lt;/SPAN&gt; taken from a different column, because when you look at it &lt;/SPAN&gt;case 1) and 2) are from column &lt;STRONG&gt;A&lt;/STRONG&gt; and case 3) and 4) are column &lt;STRONG&gt;D.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is a new video &lt;/SPAN&gt;&lt;SPAN class=""&gt;that also shows&lt;/SPAN&gt;&lt;SPAN&gt; the working/not &lt;/SPAN&gt;&lt;SPAN class=""&gt;working&lt;/SPAN&gt;&lt;SPAN&gt; part I mentioned above&lt;/SPAN&gt;&amp;nbsp;&lt;A href="https://youtu.be/gvkxFh_exPw" target="_blank" rel="noopener"&gt;https://youtu.be/gvkxFh_exPw&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The assembly shown in the video is attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shortened version of the original code&lt;/SPAN&gt;&lt;SPAN class=""&gt;, which&lt;/SPAN&gt;&lt;SPAN&gt; still only partially &lt;/SPAN&gt;&lt;SPAN class=""&gt;works&lt;/SPAN&gt;&lt;SPAN&gt;, I did not leave any of the update lines &lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; because they had no effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Dim Indx_PT001 As Integer
Dim ExcMin As String
Dim ExcMax As String
Select Case MG_Steel_Grade
	Case "S235" ' 1)
		Indx_PT001 = 0
		ExcMin = "A2"
		ExcMax = "A10"
	Case "S355" ' 2)
		Indx_PT001 = 1
		ExcMin = "A2"
		ExcMax = "A10"
	Case "WNr. 1.4301, AISI 304" ' 3)
		Indx_PT001 = 0
		ExcMin = "D2"
		ExcMax = "D10"
	Case "WNr. 1.4571, AISI 316 Ti" ' 4)
		Indx_PT001 = 4
		ExcMin = "D2"
		ExcMax = "D10"
End Select
MultiValue.SetValueOptions(True, DefaultIndex := Indx_PT001)
MultiValue.List("MG_PT001") = GoExcel.CellValues("3rd Party:Material_Table", "Material_Solid_Bars", ExcMin, ExcMax)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I feel like the problem is somehow related to the DefaultIndex value or when the data from &lt;/SPAN&gt;&lt;SPAN class=""&gt;Excel is&lt;/SPAN&gt;&lt;SPAN&gt; inserted &lt;/SPAN&gt;&lt;SPAN class=""&gt;into&lt;/SPAN&gt;&lt;SPAN&gt; the &lt;FONT color="#0000FF"&gt;MG_PT001&lt;/FONT&gt; parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the &lt;FONT color="#0000FF"&gt;MG_PT001&lt;/FONT&gt; is populated with new data, the data &lt;/SPAN&gt;&lt;SPAN class=""&gt;is &lt;STRONG&gt;really&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt; new&lt;/STRONG&gt; only &lt;/SPAN&gt;&lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; there is a change in the column from &lt;/SPAN&gt;&lt;SPAN class=""&gt;which&lt;/SPAN&gt;&lt;SPAN&gt; they are taken, then it works, but &lt;/SPAN&gt;&lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; the data remains the same (changing from case 1) to 2) or 4) to 3) then the &lt;/SPAN&gt;&lt;SPAN class=""&gt;displayed&lt;/SPAN&gt;&lt;SPAN&gt; value is changed only by the DefaultIndex and this part does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 18:30:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12705324#M11347</guid>
      <dc:creator>Pav3L</dc:creator>
      <dc:date>2024-04-12T18:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12705544#M11348</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7983840"&gt;@Pav3L&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can remember the default index only works when there is new data or if the existing value is no longer in the list. Of there is no change it doesnt effect the list. In this case I prefer to set the value manually using the parameter value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 20:31:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12705544#M11348</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2024-04-12T20:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12706722#M11349</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7946284"&gt;@A.Acheson&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7983840"&gt;@Pav3L&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case I prefer to set the value manually using the parameter value.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I am not sure what you mean &lt;/SPAN&gt;&lt;SPAN class=""&gt;exactly&lt;/SPAN&gt;&lt;SPAN&gt;, could you give me an example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;As far as I can remember the default index only works when there is new data or if the existing value is no longer in the list. Of there is no change it doesnt effect the list.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;This is what I was afraid of, looks like I will have to write the rule that everytime there is new data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 18:27:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12706722#M11349</guid>
      <dc:creator>Pav3L</dc:creator>
      <dc:date>2024-04-13T18:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12707242#M11350</link>
      <description>&lt;P&gt;Set the parameter just like going into the parameter window and adjusting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Parameter("MG_PT001") = "......"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Or alternatively you get set it as an index of multivalue list of you want the value to be automated to a certain value by index.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Parameter("MG_PT001") = MultiValue.List("MG_PT001").Item(1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 05:56:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12707242#M11350</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2024-04-14T05:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic form multi-value parameter does not update</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12708582#M11351</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7946284"&gt;@A.Acheson&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Or alternatively you get set it as an index of multivalue list of you want the value to be automated to a certain value by index.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Parameter("MG_PT001") = MultiValue.List("MG_PT001").Item(1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That works, thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 06:23:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-form-multi-value-parameter-does-not-update/m-p/12708582#M11351</guid>
      <dc:creator>Pav3L</dc:creator>
      <dc:date>2024-04-15T06:23:27Z</dc:date>
    </item>
  </channel>
</rss>

