<?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: How to change user parameters in an assembly component using VB.net in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8667230#M190436</link>
    <description>&lt;P&gt;Hi! I could be wrong but I think this should be highly doable. Another route is to use iLogic rule (also VB.Net&amp;nbsp; technology). You can reference or edit any parameter from any component within the assembly.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 22:44:05 GMT</pubDate>
    <dc:creator>johnsonshiue</dc:creator>
    <dc:date>2019-03-18T22:44:05Z</dc:date>
    <item>
      <title>How to change user parameters in an assembly component using VB.net</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8666618#M190435</link>
      <description>&lt;P&gt;This may be straightforward for some, but I have spent 2 days trying to find the correct route.&lt;/P&gt;
&lt;P&gt;Basically I am using vb.net to control an assembly and I wish to change a parameter of a component within that assembly. i.e. it's length.&lt;/P&gt;
&lt;P&gt;All the examples I have found start by assuming the part in question is active.&lt;/P&gt;
&lt;P&gt;Depending on options chosen, I wish to select the part to be amended by it's part name etc, and then set a new value to one of it's parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 18:05:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8666618#M190435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-18T18:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to change user parameters in an assembly component using VB.net</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8667230#M190436</link>
      <description>&lt;P&gt;Hi! I could be wrong but I think this should be highly doable. Another route is to use iLogic rule (also VB.Net&amp;nbsp; technology). You can reference or edit any parameter from any component within the assembly.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 22:44:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8667230#M190436</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2019-03-18T22:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change user parameters in an assembly component using VB.net</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8667831#M190437</link>
      <description>&lt;P&gt;Hi, and thanks for the reply. I have done this very successfully in iLogic already. The reason for the .Net route now is we are planning on setting up a remote watch on a server. When files appear in it, the relevant models are loaded, redrawn and saved automatically.&lt;/P&gt;
&lt;P&gt;It does seem like it should be straightforward, I just need to find the right way of doing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 08:30:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8667831#M190437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-19T08:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change user parameters in an assembly component using VB.net</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8670054#M190438</link>
      <description>&lt;P&gt;Here's an outline of a way to do it:&lt;/P&gt;
&lt;P&gt;- starting from the assembly, get its AssemblyDocument.AllReferencedDocuments&lt;BR /&gt;- iterate over the documents and find the one you want (probably by the file name)&lt;BR /&gt;- cast that document to a PartDocument&lt;BR /&gt;- get the PartDocument.ComponentDefinition.Parameters, and find the parameter you need in there&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 21:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-change-user-parameters-in-an-assembly-component-using-vb/m-p/8670054#M190438</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2019-03-19T21:43:46Z</dc:date>
    </item>
  </channel>
</rss>

