<?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: Propagation and parametrism in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8434199#M91873</link>
    <description>&lt;P&gt;You can get at all the parts of an assembly like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AssemblyDocument.ComponentDefinition.Occurrences(index).Definition&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So with the right structure, I can see it is very possible.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 19:01:19 GMT</pubDate>
    <dc:creator>JamieVJohnson2</dc:creator>
    <dc:date>2018-11-29T19:01:19Z</dc:date>
    <item>
      <title>Propagation and parametrism</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8427714#M91796</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'd like to know if this scenario is possible with Inventor API :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) We modify an attribute on a Inventor feature (color for exemple)&lt;BR /&gt;2) We call a custom command&amp;nbsp;with this feature as an argument (with our own code)&lt;BR /&gt;During this custom command we propagate the attribute to the children (results)&lt;BR /&gt;3) Then we modify the attribut on the parent&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;=&amp;gt; We would like to see the children attributes be updated as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is greatly appreciated !&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 16:24:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8427714#M91796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-27T16:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Propagation and parametrism</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8434199#M91873</link>
      <description>&lt;P&gt;You can get at all the parts of an assembly like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AssemblyDocument.ComponentDefinition.Occurrences(index).Definition&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So with the right structure, I can see it is very possible.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 19:01:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8434199#M91873</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2018-11-29T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Propagation and parametrism</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8436349#M91915</link>
      <description>&lt;P&gt;Hi Jamie and thank you for your response !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently we are in a part environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also&amp;nbsp;I don't understand how your code sample could help me ?&amp;nbsp;What I would like to know is if Inventor can create this parametrism automatically, without&amp;nbsp;needing the user to call a custom command to propagate the attribute he has set on the parent feature.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 14:36:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8436349#M91915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-30T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Propagation and parametrism</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8436672#M91926</link>
      <description>&lt;P&gt;Features...&amp;nbsp; ok then (remember this is pseudo code)&lt;/P&gt;
&lt;P&gt;dim feat as PartFeature = PartDocument.ComponentDefinition.Features&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the latter part of your question.&amp;nbsp; Inventor has Events for many things (look at Manage\iLogic\EventTriggers in the ribbon), your trick is to hook into the most appropriate event (and least intrusive) then perform your task at that time.&amp;nbsp; I find Before Save document to be my best event, because the user has to save sometime.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 16:26:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/propagation-and-parametrism/m-p/8436672#M91926</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2018-11-30T16:26:46Z</dc:date>
    </item>
  </channel>
</rss>

