<?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 copy user parameters from parts to assembly in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575115#M111952</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you go &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;asm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;copyParams&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;asm&lt;/SPAN&gt;)
	&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;copyParams&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0
			&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameter&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameter&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
						&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;)
						&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;
						&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
						&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
						&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByExpression&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
						&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
						&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;
				&lt;SPAN style="color: #808080;"&gt;'if the referenced document is an assembly&lt;/SPAN&gt;
				&lt;SPAN style="color: #808080;"&gt;'the sub will call itself with that document as the argument&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;copyParams&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;)
			&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Jun 2020 19:31:12 GMT</pubDate>
    <dc:creator>JhoelForshav</dc:creator>
    <dc:date>2020-06-11T19:31:12Z</dc:date>
    <item>
      <title>iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9513765#M110779</link>
      <description>&lt;P&gt;Using iLogic, I want to be able to copy user parameters from part files into an assembly. I found an example that copies user parameters from an assembly into part files and tried modifying it to suit my needs and it runs without errors but does not copy over any of the user parameters. The code I have is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;asmDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;	

&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;refDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;asmDoc&lt;/SPAN&gt;.&lt;SPAN&gt;AllReferencedDocuments&lt;/SPAN&gt;

	&lt;SPAN&gt;'Look for part documents.&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;refDoc&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
    	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;refDoc&lt;/SPAN&gt;
    	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;refDocUserParams&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;UserParameters&lt;/SPAN&gt; = &lt;SPAN&gt;refDoc&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;'Add the part parameters to the assembly.&lt;/SPAN&gt;
        &lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;partUserParam&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;refDoc&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;'Check to see if the parameter already exists.&lt;/SPAN&gt;
            &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;checkParam&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;UserParameter&lt;/SPAN&gt; = &lt;SPAN&gt;Nothing&lt;/SPAN&gt;
            &lt;SPAN&gt;Try&lt;/SPAN&gt;
            	&lt;SPAN&gt;checkParam&lt;/SPAN&gt; = &lt;SPAN&gt;refDocUserParams&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;)
            &lt;SPAN&gt;Catch&lt;/SPAN&gt; &lt;SPAN&gt;ex&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Exception&lt;/SPAN&gt;
            	&lt;SPAN&gt;checkParam&lt;/SPAN&gt; = &lt;SPAN&gt;Nothing&lt;/SPAN&gt;
            &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;

            &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;checkParam&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
				&lt;SPAN&gt;'Create the missing parameter.&lt;/SPAN&gt;
            	&lt;SPAN&gt;refDocUserParams&lt;/SPAN&gt;.&lt;SPAN&gt;AddByExpression&lt;/SPAN&gt;(&lt;SPAN&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;, &lt;SPAN&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN&gt;Expression&lt;/SPAN&gt;, &lt;SPAN&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN&gt;Units&lt;/SPAN&gt;)
			&lt;SPAN&gt;Else&lt;/SPAN&gt;
            	&lt;SPAN&gt;'Update the value of the existing parameter.&lt;/SPAN&gt;
            	&lt;SPAN&gt;checkParam&lt;/SPAN&gt;.&lt;SPAN&gt;Expression&lt;/SPAN&gt; = &lt;SPAN&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN&gt;Expression&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;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Any help with what I am doing wrong is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 18:27:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9513765#M110779</guid>
      <dc:creator>jishee</dc:creator>
      <dc:date>2020-05-13T18:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9514033#M110781</link>
      <description>&lt;P&gt;change&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;refDocUserParams&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;UserParameters&lt;/SPAN&gt; = &lt;SPAN&gt;refDoc&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;/PRE&gt;&lt;P&gt;into&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;refDocUserParams&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;UserParameters&lt;/SPAN&gt; = asmdoc.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN&gt;UserParameters&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and move it above&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;refDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;asmDoc&lt;/SPAN&gt;.&lt;SPAN&gt;AllReferencedDocuments&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 May 2020 20:06:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9514033#M110781</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-13T20:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9514072#M110782</link>
      <description>&lt;P&gt;I know get a 'Parameter is incorrect' error. It runs until the line highlighted below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jishee_0-1589401545635.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/769964i996DD7B963AECA7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jishee_0-1589401545635.png" alt="jishee_0-1589401545635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 20:25:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9514072#M110782</guid>
      <dc:creator>jishee</dc:creator>
      <dc:date>2020-05-13T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9515011#M110801</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4018433"&gt;@jishee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding by expression might not always work. The expression could contain a name of a parameter that doesn't exist in the assembly. Either a user parameter that hasn't been copied yet or a model parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My suggestion is to try to use the expression but if it fails, use the parameter value instead:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;asmDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;	

&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;refDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;asmDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedDocuments&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;refDocUserParams&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;asmDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;'Look for part documents.&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;refDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
    	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;refDoc&lt;/SPAN&gt;
        &lt;SPAN style="color: #808080;"&gt;'Add the part parameters to the assembly.&lt;/SPAN&gt;
        &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;UserParameter&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;refDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;
            &lt;SPAN style="color: #808080;"&gt;'Check to see if the parameter already exists.&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;checkParam&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;UserParameter&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
            	&lt;SPAN style="color: #800000;"&gt;checkParam&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;refDocUserParams&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;)
            &lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
            	&lt;SPAN style="color: #800000;"&gt;checkParam&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;

            &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;checkParam&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
				&lt;SPAN style="color: #808080;"&gt;'Create the missing parameter.&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
            	&lt;SPAN style="color: #800000;"&gt;refDocUserParams&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByExpression&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
				&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;refDocUserParams&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
				&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
            	&lt;SPAN style="color: #808080;"&gt;'Update the value of the existing parameter.&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
            	&lt;SPAN style="color: #800000;"&gt;checkParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;checkParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;partUserParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
            &lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 May 2020 06:50:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9515011#M110801</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-05-14T06:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9515260#M110805</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; have right that reason must be in missing parameter from expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you really must add expression then you can start with this code if you want to determine wchich parameter missing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim asmDoc As Inventor.AssemblyDocument = ThisDoc.Document	
Dim refDocUserParams As UserParameters = asmDoc.ComponentDefinition.Parameters.UserParameters
For Each refDoc As Inventor.Document In asmDoc.AllReferencedDocuments

	'Look for part documents.
	'If refDoc.DocumentType = Inventor.DocumentTypeEnum.kPartDocumentObject Then
    	Dim partDoc As Inventor.Document = refDoc
        'Add the part parameters to the assembly.
        For Each partUserParam As UserParameter In refDoc.ComponentDefinition.Parameters.UserParameters
            'Check to see if the parameter already exists.
      
		 Dim checkParam As UserParameter = Nothing
            Try
            	checkParam = refDocUserParams.Item(partUserParam.Name)
            Catch
            	checkParam = Nothing
            End Try

            If checkParam Is Nothing Then
				   
				'Create the missing parameter.
				Dim checkParamdependants As Parameter = Nothing 
					Dim pardependants As String = ""
				
					
					For Each param As Parameter In refDoc.ComponentDefinition.Parameters
						If param.Type &amp;lt;&amp;gt; 50348800 Then
							If param.Dependents.count&amp;gt;0 Then
						For Each paramdep As Parameter In param.Dependents
						If paramdep.name = partUserParam.Name Then
					Try
			            	checkParamdependants = refDocUserParams.Item(param.Name)
			            Catch
							
			            '	If pardependants.Contains(param.name)=False Then
							pardependants = pardependants  &amp;amp; param.name &amp;amp; ";"
					'	End If
			            End Try
					End If
					Next
				End If
				End If
				Next
			Try
			If pardependants = "" Then
				refDocUserParams.AddByExpression(partUserParam.Name, partUserParam.Expression, partUserParam.Units)
			Else
				MessageBox.Show("Error, in assembly dependant parameters missing: " &amp;amp; pardependants)
			End If
			Catch
			 MessageBox.Show ("Error, in assembly dependant parameters missing: " &amp;amp; pardependants )
				End Try
			Else
            	'Update the value of the existing parameter.
				Try
            	checkParam.Expression = partUserParam.Expression
				Catch
				checkParam.Value = partUserParam.Value
			End Try
            End If
		Next
'	End If
Next
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:05:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9515260#M110805</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2020-05-14T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9516167#M110839</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;it works correctly now. Thank you for your help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you also&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1734991"&gt;@marcin_otręba&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 14:08:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9516167#M110839</guid>
      <dc:creator>jishee</dc:creator>
      <dc:date>2020-05-14T14:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574189#M111927</link>
      <description>&lt;P&gt;good afternoon &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Can you tell me which iLogic can transfer all user parameters from the assembly to all the part in this assembly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in advance&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;thank you so much&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 12:44:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574189#M111927</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-06-11T12:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574268#M111928</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The type of parameter copy that's done in this thread, but from assembly to all its parts would look something like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedDocuments&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameter&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameter&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;)
				&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
					&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
					&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
					&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByExpression&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
				&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
					&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
				&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jun 2020 13:20:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574268#M111928</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-11T13:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574382#M111930</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much, I am your debtor&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 14:04:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574382#M111930</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-06-11T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574650#M111942</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when it’s good, it wants more.&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@9403CAC7D675D8EDCF8ABB2128091B85/emoticons/1f917.png" alt=":hugging_face:" title=":hugging_face:" /&gt;&amp;nbsp; But is this most likely impossible?&amp;nbsp; &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@3E5F6F5F61A59A319E954F4832B72305/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt;&lt;BR /&gt;If SUBASSEMBLY appears in ASSEMBLY, it passes parameters to all parts, including SUBASSEMBLY parts.&lt;BR /&gt;And he wants the ASSEMBLY to switch over to its parts, and not to trade SUBASSEMBLY. SUBASSEMBLY on their part.&lt;/P&gt;&lt;P&gt;Is it possible? If yes - the wine is from me...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Param to part.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/782637iD087CBDC0A8F3201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Param to part.png" alt="Param to part.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 15:48:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574650#M111942</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-06-11T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574823#M111946</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats possible for sure. Only problem will be if the same part exists in multiple subassemblies...&lt;/P&gt;&lt;P&gt;I’ll probably not get home in time to write this code tonight. But if no one beats me to it i’ll fix it tomorrow&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@654EFF2419D8AA46C02C7BA8582B44D6/emoticons/1f60a.png" alt=":smiling_face_with_smiling_eyes:" title=":smiling_face_with_smiling_eyes:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 16:58:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9574823#M111946</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-11T16:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575115#M111952</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8397348"&gt;@robertast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you go &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;asm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;copyParams&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;asm&lt;/SPAN&gt;)
	&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;copyParams&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ReferencedDocuments&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0
			&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameter&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameter&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
						&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;)
						&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;
						&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;paramInPart&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
						&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
						&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByExpression&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
						&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
							&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Expression&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oParam&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Units&lt;/SPAN&gt;)
						&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt;
				&lt;SPAN style="color: #808080;"&gt;'if the referenced document is an assembly&lt;/SPAN&gt;
				&lt;SPAN style="color: #808080;"&gt;'the sub will call itself with that document as the argument&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;copyParams&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;)
			&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jun 2020 19:31:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575115#M111952</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-11T19:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575668#M111958</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something went wrong, the code swears ... &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@6912CB70F7166D0FAEDF4546BD1C95A0/emoticons/1f644.png" alt=":face_with_rolling_eyes:" title=":face_with_rolling_eyes:" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 03:49:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575668#M111958</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-06-12T03:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575855#M111959</link>
      <description>&lt;P&gt;Everything is in order, you must disable the "Straight VB code"Thanks again&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 07:02:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/9575855#M111959</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2020-06-12T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/10556915#M127866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just come across your reply here, If you only wanted certain parameters from certain parts in the assembly how would you do that please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg, say we have "Parameter1" in the part "PartA" and I would like to copy this&amp;nbsp;"Parameter1" to the assembly that contains "PartA"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Donald&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 05:56:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/10556915#M127866</guid>
      <dc:creator>donaldleigh</dc:creator>
      <dc:date>2021-08-19T05:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/10975346#M135029</link>
      <description>&lt;P&gt;I am having issues with this code, im getting this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea what this could be?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 14:11:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/10975346#M135029</guid>
      <dc:creator>alan.wedge</dc:creator>
      <dc:date>2022-02-28T14:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic copy user parameters from parts to assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/11550692#M145119</link>
      <description>Hi GREAT WORK again!&lt;BR /&gt;I'm wondering is there a chance that instead of all the occurrences parameters would be only added from selected one ?</description>
      <pubDate>Mon, 14 Nov 2022 11:28:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-copy-user-parameters-from-parts-to-assembly/m-p/11550692#M145119</guid>
      <dc:creator>damian_dymczyk</dc:creator>
      <dc:date>2022-11-14T11:28:21Z</dc:date>
    </item>
  </channel>
</rss>

