<?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: Export all multi-value parameters to spreadsheet in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114217#M52900</link>
    <description>&lt;P&gt;Yes, with the code I gave you, you will only keep the parameter values from the last loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt; reply for a more detailed and complete code. I agree with him that a list will be more flexible for you to work with.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 13:25:55 GMT</pubDate>
    <dc:creator>j.haggenjos</dc:creator>
    <dc:date>2021-02-26T13:25:55Z</dc:date>
    <item>
      <title>Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10105251#M52882</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compare values which I import from a spreadsheet to the values in my user parameters, i need to compare all the possible values as opposed to the ones which are currently set, for example: If one parameter has imported from the spreadsheet as "Blue" (for a multi value parameter called colour), I want to check that blue is a value in the list for colour.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 15:05:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10105251#M52882</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-23T15:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10105647#M52883</link>
      <description>&lt;P&gt;So...you have an Inventor model file that already has some parameters in it, and you have a separate, external Excel spreadsheet file that contains data/specifications for a set of parameters, right?&lt;/P&gt;&lt;P&gt;We would need to know exactly how the Excel spreadsheet is set-up/laid-out.&amp;nbsp; Specifically where to find each bit of data we are looking for.&lt;/P&gt;&lt;P&gt;If you could create a simplified example model file and Excel file (with no personal/proprietary data in them) for us to test with, it might make the process of one of us developing a solution for you a bit faster.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 17:08:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10105647#M52883</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-02-23T17:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113483#M52884</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late reply. Apparently I didn't recieve any emails telling me there was a response.&lt;/P&gt;&lt;P&gt;Actually what I am after isn't related to a spreadsheet. I want to put all the values in a set of multi-value parameters into a single ArrayList, but I cant seem to do that.&lt;/P&gt;&lt;P&gt;I cant create a loop because of the speechmark requirement&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;If I have multi value parameters, A, B, C, and D. Each parameter containing a few options.&lt;/P&gt;&lt;P&gt;How do I put all the options represented in side these paramaters into a single array?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to create a loop.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's this snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;p&lt;/SPAN&gt; = &lt;SPAN&gt;MultiValue&lt;/SPAN&gt;.&lt;SPAN&gt;List&lt;/SPAN&gt;(&lt;SPAN&gt;"A"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;But it won't work for my application because I want to loop through a list of multi-value parameters and place the set of values contained in each of them into one Array.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 08:38:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113483#M52884</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T08:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113768#M52885</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the iLogic shortcut, I'm not sure there is a way to loop through all parameters. You have to access them by name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to loop through all parameters, you need to use the &lt;A href="https://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=GUID-B0ABF1AE-BE08-4B60-8FC6-3753A8494606" target="_blank" rel="noopener"&gt;API to access the UserParameters&lt;/A&gt; and loop through those. Then you check if the parameter is a multivalue and at that point, you can get the parameter list:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;For Each oParameter As UserParameter In ThisDoc.Document.ComponentDefinition.Parameters.UserParameters
	If oParameter.ExpressionList.Count &amp;lt;&amp;gt; 0 Then
		Dim ParameterList() As String = oParameter.ExpressionList.GetExpressionList()
        'Do something with ParameterList
	End If
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should get you closer to what you need.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 10:49:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113768#M52885</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T10:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113839#M52886</link>
      <description>&lt;P&gt;Thanks for this, I want to compare the values in ParameterList() with another arraylist further down the rule, but it throws up ParameterList not defined error&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 11:21:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113839#M52886</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T11:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113942#M52887</link>
      <description>&lt;P&gt;It's my mistake. If you define ParameterList inside the loop it will only exist in the loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim ParameterList() As String
For Each oParameter As UserParameter In ThisDoc.Document.ComponentDefinition.Parameters.UserParameters
	If oParameter.ExpressionList.Count &amp;lt;&amp;gt; 0 Then
		ParameterList = oParameter.ExpressionList.GetExpressionList()
        'Do something with ParameterList
	End If
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the loop is finished, you only have the parameter list from the last parameter. If you want all of them you need to modify the code a bit. But the easier would be to handle each list inside the loop.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:03:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113942#M52887</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T12:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113955#M52888</link>
      <description>&lt;P&gt;I Tried that previously and got an Object reference not set to an instance of an object error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;ParameterList&lt;/SPAN&gt;() &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oParameter&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;UserParameter&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN&gt;UserParameters&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oParameter&lt;/SPAN&gt;.&lt;SPAN&gt;ExpressionList&lt;/SPAN&gt;.&lt;SPAN&gt;Count&lt;/SPAN&gt; &amp;lt;&amp;gt; 0 &lt;SPAN&gt;Then&lt;/SPAN&gt;
		&lt;SPAN&gt;ParameterList&lt;/SPAN&gt; = &lt;SPAN&gt;oParameter&lt;/SPAN&gt;.&lt;SPAN&gt;ExpressionList&lt;/SPAN&gt;.&lt;SPAN&gt;GetExpressionList&lt;/SPAN&gt;()
        &lt;SPAN&gt;'Do something with ParameterList&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;

&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;Value&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;ParameterList&lt;/SPAN&gt;
	&lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN&gt;Value&lt;/SPAN&gt;)
	&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:06:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10113955#M52888</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T12:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114002#M52889</link>
      <description>&lt;P&gt;This code you posted works for me if I copy paste it in a rule.&lt;/P&gt;&lt;P&gt;I think something else is preventing your second loop to access the ParameterList. Is it in a separate loop or If condition?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Move the ParameterList variable definition to the top of your rule to prevent issue. At least make sure it is not "hidden" inside a loop or If condition.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;ParameterList&lt;/SPAN&gt;() &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:23:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114002#M52889</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T12:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114014#M52890</link>
      <description>&lt;P&gt;I'm just trying it in a Dummy rule, there is nothing else in the rule, and it is formatted as shown above&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:27:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114014#M52890</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T12:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114032#M52891</link>
      <description>&lt;P&gt;Is there a MultieValue parameter in the document from this rule?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:32:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114032#M52891</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T12:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114041#M52892</link>
      <description>&lt;P&gt;yes, there are many of them, it is an assembly file&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:34:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114041#M52892</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T12:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114065#M52893</link>
      <description>&lt;P&gt;Does this list their name in message boxes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim ParameterList() As String
For Each oParameter As UserParameter In ThisDoc.Document.ComponentDefinition.Parameters.UserParameters
	If oParameter.ExpressionList.Count &amp;lt;&amp;gt; 0 Then
		MsgBox(oParameter.Name)
		ParameterList = oParameter.ExpressionList.GetExpressionList()
        'Do something with ParameterList
	End If
Next&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;</description>
      <pubDate>Fri, 26 Feb 2021 12:39:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114065#M52893</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T12:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114090#M52894</link>
      <description>&lt;P&gt;It does, but then it throws up this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:45:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114090#M52894</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T12:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114115#M52895</link>
      <description>&lt;P&gt;Try running the test rule in the attached ipt&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:51:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114115#M52895</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114122#M52896</link>
      <description>&lt;P&gt;strange, that one runs with no errors. Is it a parameter that is messing it up?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 12:53:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114122#M52896</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T12:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114162#M52897</link>
      <description>&lt;P&gt;Try it this way.&amp;nbsp; I'm showing multiple different options within this rule.&amp;nbsp; I usually prefer to work with a List over an Array, because they are usually much easier to deal with.&amp;nbsp; And you can easily convert between both types.&lt;/P&gt;&lt;P&gt;You can have a List that contains other Lists, and you can also have multi-dimensional arrays (like an array of arrays), so if you wanted to keep each list seperate, yet all stored in one variable, either of those would be an option.&amp;nbsp; However, if you really just want them all in one long list, that is easily done with a simple 3-line loop.&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oDocType As DocumentTypeEnum = ThisApplication.ActiveDocumentType
Dim oParams As Parameters
If oDocType = DocumentTypeEnum.kPartDocumentObject Or _
	oDocType = DocumentTypeEnum.kAssemblyDocumentObject Then
	oParams = ThisApplication.ActiveDocument.ComponentDefinition.Parameters
ElseIf oDocType = DocumentTypeEnum.kDrawingDocumentObject Then
	oParams = ThisDrawing.Document.Parameters
End If
Dim oParam As Inventor.Parameter
Dim oAllOptions As New List(Of List(Of String))
Dim oOptions As New List(Of String)
For Each oParam In oParams
	If oParam.ExpressionList.Count &amp;gt; 0 Then
		oOptions = oParam.ExpressionList.GetExpressionList.ToList
		oAllOptions.Add(oOptions)
	End If
Next
'now you have a Lisf of all the Lists in one object reference (oAllOptions)
'Lists are usually easier to work with than Arrays
'For Each oSList As List(Of String) In oAllOptions
'	InputListBox(" ", oSList) 'just shows you that it worked
'Next

'but if you want just one long list of all the options, we can do this
Dim oAll As New List(Of String)
For Each oList As List(Of String) In oAllOptions
	oAll.AddRange(oList)
Next
'InputListBox(" ", oAll) 'just to show that it worked

'convert the List back into an Array
Dim oAllArray() As String = oAll.ToArray
InputListBox(" ", oAllArray) 'just to show that it worked&lt;/LI-CODE&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 have time, please... Vote 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;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2021/ENU/" target="_blank"&gt;Inventor 2021 Help &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-forum/bd-p/78/" target="_blank"&gt;Inventor Forum &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-customization/bd-p/120/" target="_blank"&gt;Inventor Customization Forum &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232/" target="_blank"&gt;Inventor Ideas Forum &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:07:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114162#M52897</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-02-26T13:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114190#M52898</link>
      <description>&lt;P&gt;I found the issue. In the case of a boolean parameter, ExpressionList does not exist and will trigger an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to check the following to properly identify Multivalue parameter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If oParameter.ExpressionList IsNot Nothing AndAlso oParameter.ExpressionList.Count &amp;lt;&amp;gt; 0 Then&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:16:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114190#M52898</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T13:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114214#M52899</link>
      <description>&lt;P&gt;It didn't crash when i substituted it in the original. But it is only printing 2 items, i'm guessing it is overriding at each step of the loop?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:23:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114214#M52899</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T13:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114217#M52900</link>
      <description>&lt;P&gt;Yes, with the code I gave you, you will only keep the parameter values from the last loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt; reply for a more detailed and complete code. I agree with him that a list will be more flexible for you to work with.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:25:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114217#M52900</guid>
      <dc:creator>j.haggenjos</dc:creator>
      <dc:date>2021-02-26T13:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export all multi-value parameters to spreadsheet</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114290#M52901</link>
      <description>&lt;P&gt;This doesn't seem to work for me? I'm getting a not set to an instance of an object error.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:50:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/export-all-multi-value-parameters-to-spreadsheet/m-p/10114290#M52901</guid>
      <dc:creator>ahmed.hagi</dc:creator>
      <dc:date>2021-02-26T13:50:42Z</dc:date>
    </item>
  </channel>
</rss>

