<?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: Set Part Parameters in Assembly in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691941#M370785</link>
    <description>&lt;P&gt;For anyone who doesn't want to download the files, the iLogic rule simply contains this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Parameter("Sketch Part.ipt", "Width")=Width
Parameter("Sketch Part.ipt", "Height")=Height&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "width" and "height" within the function are the names of the parameters&amp;nbsp;&lt;STRONG&gt;within the sub-part &lt;/STRONG&gt;that you want to be driven, while the "width" and "height" to the right of the equals sign are the parameters within the Assembly itself that you want to use to drive the sub-components.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2015 18:09:34 GMT</pubDate>
    <dc:creator>DRoam</dc:creator>
    <dc:date>2015-06-24T18:09:34Z</dc:date>
    <item>
      <title>Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691683#M370782</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is another simple one...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an assembly composed of many parts which have their parameters derived from a simple width and height. The width and height I have made into a simple sketch and saved it as its own part which is also within the assembly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since all of the parts are based off these dimensions, I'd like to be able to simply go to the parameters table and update them from there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have to do right now (I understand it isn't THAT much work) is double click the sketch part to edit it, then go into edit sketch, then double click each dimension to update it. Then I click "finish sketch", then hit "return", then in some cases depending on the complexity of my assembly i must hit "rebuild all".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has become cumbersome and would be so much easier if i could just access these dimensions from within the assemblies parameter table. I have been advised to "export" the dimensions from the part and link them from within the assembly but all that does is make them available for referencing because they are then greyed out and unavailable to edit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 15:42:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691683#M370782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T15:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691911#M370783</link>
      <description>You can create an iLogic rule that will 'copy' a parameter value from the assembly down to the part.</description>
      <pubDate>Wed, 24 Jun 2015 17:53:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691911#M370783</guid>
      <dc:creator>PaulMunford</dc:creator>
      <dc:date>2015-06-24T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691932#M370784</link>
      <description>&lt;P&gt;Hi Sandro, I've attached an assembly with a part that contains a sketch similar to what you've described.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within the assembly is an iLogic rule that will run whenever the Width or Height parameters&amp;nbsp;&lt;STRONG&gt;in the assembly&lt;/STRONG&gt; are changed, and will update the sketch part accordingly. You can adapt this to your model and needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps, let&amp;nbsp;me know if you have any questions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 18:05:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691932#M370784</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2015-06-24T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691941#M370785</link>
      <description>&lt;P&gt;For anyone who doesn't want to download the files, the iLogic rule simply contains this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Parameter("Sketch Part.ipt", "Width")=Width
Parameter("Sketch Part.ipt", "Height")=Height&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "width" and "height" within the function are the names of the parameters&amp;nbsp;&lt;STRONG&gt;within the sub-part &lt;/STRONG&gt;that you want to be driven, while the "width" and "height" to the right of the equals sign are the parameters within the Assembly itself that you want to use to drive the sub-components.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 18:09:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691941#M370785</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2015-06-24T18:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691965#M370786</link>
      <description>DRoam,&lt;BR /&gt;&lt;BR /&gt;I have never been able to figure out how to open the zipped files on this forum (or even attach them) but I was able to open the assembly with the sketch as unresolved.&lt;BR /&gt;&lt;BR /&gt;So I opened the parameters table and im sure this is exactly what i need to do.&lt;BR /&gt;&lt;BR /&gt;The only problem is that I have not started getting into iLogic just yet so I dont know how you did this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sandro</description>
      <pubDate>Wed, 24 Jun 2015 18:22:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5691965#M370786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692023#M370787</link>
      <description>&lt;P&gt;You should be able to just right-click the zipped folder and click "Extract All..." and then open the folder it extracted to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I went ahead and created &amp;nbsp;screencast that shows how to open the iLogic panel, create a rule, and use the parameters in you Assembly and your sub-part to control the part's parameters from the assembly. Hopefully it's clear enough. All of this video is done from the assembly level. The "width" and "height" parameters have already been created in the part and the sketch dimensions set equal to them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a quick tip about iLogic, if you type the name of a parameter that's directly within the part or assembly that you created the rule in, then any changes to that parameter will automatically fire the iLogic rule. So in this example, the "Width" and "Height" that I clicked after clicking "User Parameters" are blue, which means the rule will fire automatically when they're changed, causing the part's parameters to update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, I know that's wordy, hopefully it made sense &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&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;DIV id="343ad27c-819f-4bad-81e2-2e6395e7edad" class="myscreencast-iframe iframe-container active-myscreencast"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/343ad27c-819f-4bad-81e2-2e6395e7edad" width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="display: inline;"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jun 2015 18:53:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692023#M370787</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2015-06-24T18:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692065#M370788</link>
      <description>&lt;P&gt;WOOO!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry but this is super exciting! This is EXACLTY what I need! Not only does this solve my problem but its also my first taste of iLogic and now I can carry this knowledge to ALL of my other assemblies. This just made my life so much easier!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is fantastic...thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 19:12:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692065#M370788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T19:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692083#M370789</link>
      <description>&lt;P&gt;My pleasure!! Haha I can relate to your excitement when it comes to iLogic, I'm continually excited by new prospects for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One really great resource is&amp;nbsp;Curtis Waguespack's blog "&lt;A target="_self" href="http://inventortrenches.blogspot.com/"&gt;From the Trenches&lt;/A&gt;." I've found lots of great iLogic code and ideas there. Once you find the iLogic code to access whatever you're trying to read or modify, be it a parameter, feature, iProperty, etc., the possibilities are endless.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best of luck!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 19:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692083#M370789</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2015-06-24T19:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692517#M370790</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For any future designs of this nature, I would suggest using a "Master part" this can then be used in one of two ways:&lt;/P&gt;&lt;P&gt;1: Derive the part into each of the new parts, and make use of any work features, sketches and parameters.&lt;/P&gt;&lt;P&gt;2: Link the Master part from within the "Parameters" section of the new part, you can then select which parameters you wish to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you could then do, is place the master part in your assembly as well, then write the iLogic code to update your skeleton model only, therefore updating all your parts. Depending on the model, link the code to a form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;benefit of working this way, is you can make the changes to the parameters and sketches from one location, and every part and assembly that depend on the master part will update accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try and look for any information on skeleton/master part modeling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need some more information I will gladly help, 99% of my work is conducted in this manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 01:59:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692517#M370790</guid>
      <dc:creator>rhasell</dc:creator>
      <dc:date>2015-06-25T01:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692576#M370791</link>
      <description>&lt;P&gt;hI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please ignore previous comment.&amp;nbsp; DOH!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 04:05:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692576#M370791</guid>
      <dc:creator>rhasell</dc:creator>
      <dc:date>2015-06-25T04:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692979#M370792</link>
      <description>no worries lol , yes this is exactly how i have been doing things, just now i can update that "Master Part" from within the assembly thanks to DRoam &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If I have any other questions I will take you up on your offer tho!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sandro</description>
      <pubDate>Thu, 25 Jun 2015 11:42:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5692979#M370792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-25T11:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5697356#M370793</link>
      <description>&lt;P&gt;Great job DRoam!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 09:54:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/5697356#M370793</guid>
      <dc:creator>PaulMunford</dc:creator>
      <dc:date>2015-06-29T09:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/10027541#M370794</link>
      <description>&lt;P&gt;This is useful, but after copy design of the model, the iLogic rule will not update with the new .IPT names.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a work around?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&amp;nbsp; I'll need to copy design this model which not only has 2 parameters but 20. And in an assembly will need about ten models, side by side and will need to update these parameters per assembly as each model is similar but differa in width and depth.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 03:27:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/10027541#M370794</guid>
      <dc:creator>mozoub</dc:creator>
      <dc:date>2021-01-25T03:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Part Parameters in Assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/10028710#M370795</link>
      <description>&lt;P&gt;You could use some code like this example?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Here's some pure API code that is written to run within iLogic that will copy all user parameters from the active assembly all parts referenced by the assembly, regardless of where they are in the assembly structure.&amp;nbsp; If the parameter already exists in the part, it will update the value.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/ilogic-push-all-assembly-user-parameters-to-parts/td-p/7961847" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/ilogic-push-all-assembly-user-parameters-to-parts/td-p/7961847&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 14:00:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/set-part-parameters-in-assembly/m-p/10028710#M370795</guid>
      <dc:creator>PaulMunford</dc:creator>
      <dc:date>2021-01-25T14:00:36Z</dc:date>
    </item>
  </channel>
</rss>

