<?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: update ilogic rule when filenames change in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/7578590#M120972</link>
    <description>&lt;P&gt;Jimmy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have you tried using the "place iLogic component" option instead? I have handled this situation the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a&amp;nbsp; new assembly&lt;/P&gt;&lt;P&gt;2. Save assembly as required name (job no, order no, etc.)&lt;/P&gt;&lt;P&gt;3. Place iLogic component (it will add an -01, -02 etc. to that assembly and non-standard parts)&lt;/P&gt;&lt;P&gt;4. Configure assembly when placing&lt;/P&gt;&lt;P&gt;5. Save Master assembly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If needed you can rename (normalize) files in the browser. Just a thought.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 14:22:52 GMT</pubDate>
    <dc:creator>Ted.F</dc:creator>
    <dc:date>2017-11-28T14:22:52Z</dc:date>
    <item>
      <title>update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5457598#M120966</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an assembly where i have written a long ilogic rule which relates parameters for different parts and assembly parameters.&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;z = 10&lt;BR /&gt;Parameter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;bodychannel:1&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;width&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;z&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;Parameter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;bodychannel:1&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Thickness&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have created a model assembly using such ilogic rules. Now&amp;nbsp;i change the assembly part names using design assistant. for example&lt;/P&gt;&lt;P&gt;i change the part name bodychannel to 11.00.01.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT, When i open the assembly the rule does not get updated automatically with the new name.&lt;/P&gt;&lt;P&gt;Can someone suggest me a way where the filenames in the rules get updated automatically when i change the name in design assistant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sid&lt;/P&gt;&lt;P&gt;Using Inventor 2011&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jan 2015 14:32:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5457598#M120966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-03T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5459494#M120967</link>
      <description>&lt;P&gt;So, there's a bit of info I am missing on my end due to my lack of expertise, but could you change the part of your rule that specifically calls out the part name in a static way to calling out the part name in a dynamic way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I'm not sure how to get the right text in the "oDoc.FileName" part, but maybe someone else can chime in. In the meantime, perhaps you can take this bit and run with it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;z = 10&lt;BR /&gt;Dim PartName as String&lt;BR /&gt;PartName = oDoc.FileName &amp;amp; ":1" 'This is the part I am not sure about, but hopefully it gets my idea across&lt;BR /&gt;&lt;BR /&gt;Parameter&lt;/SPAN&gt;&lt;SPAN&gt;(PartName&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;width&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;z&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;Parameter&lt;/SPAN&gt;&lt;SPAN&gt;(PartName&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Thickness&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jan 2015 01:45:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5459494#M120967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T01:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5462133#M120968</link>
      <description>&lt;P&gt;I feel the idea is right.&lt;SPAN style="line-height: 15px;"&gt;But even i am looking out for the exact way of denoting the part name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone pitch in here and help out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks dkatz. I will let you know if i get something.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 02:51:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5462133#M120968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T02:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5479825#M120969</link>
      <description>&lt;P&gt;You want the description in the browser to remain the same so that each time the code calls up the part it's name remains the same. This may be done by right clicking the part in the browser and under "Occurrence" setting the name to a choosen name such as "BodyChan1". The name will now remain the same regardless of whether the part is replaced by code or by design assistant. Your code must refer to "BodyChan1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I explained it clearly&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 12:36:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5479825#M120969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-23T12:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5480417#M120970</link>
      <description>&lt;P&gt;@Anonymous is exactly right.&amp;nbsp; I just want to add that it is possible to rename the component occurrence in the browser, without having to go to iProperties &amp;gt; Occurrence tab.&amp;nbsp; Simply select the component in the browser, then click it again (not a fast double-click, just click-wait-click).&amp;nbsp; This will allow you to edit the component name right there.&amp;nbsp; See the video below for an example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IFRAME src="https://screencast.autodesk.com/Embed/1ba434f8-7522-4858-95d4-5449f3c5dc47" width="696" height="435" frameborder="0"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this video, you'll see that you can also revert the component back to its original name by erasing the name and pressing enter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I like to add an underscore to the beginning of every component that I rename, just so I instantly know which parts have been renamed or not.&amp;nbsp; It's just something I find helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cameron Whetten&lt;BR /&gt;Inventor 2014&lt;BR /&gt;&lt;IMG src="http://download.autodesk.com/us/expert_elite/ADSK_Expert_Elite_Icon_S_Color_Blk.png" border="0" width="20%" height="20%" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 18:22:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/5480417#M120970</guid>
      <dc:creator>cwhetten</dc:creator>
      <dc:date>2015-01-23T18:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/7168771#M120971</link>
      <description>&lt;P&gt;So I have a 'generic' top down assembly. When we get an order, I Vault copy design it it to the associated work order. But now&amp;nbsp;all my rules that use the display name no longer work, once I copy the files. Am I completely screwed? Can I do something so that the display name does not update based on the file name? Or is all my code worthless if I change the file name?&lt;/P&gt;
&lt;P&gt;I'm very scared right now..&lt;img id="mansad" class="emoticon emoticon-mansad" src="https://forums.autodesk.com/i/smilies/16x16_man-sad.png" alt="Man Sad" title="Man Sad" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 18:47:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/7168771#M120971</guid>
      <dc:creator>JimmyDoe</dc:creator>
      <dc:date>2017-06-21T18:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: update ilogic rule when filenames change</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/7578590#M120972</link>
      <description>&lt;P&gt;Jimmy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have you tried using the "place iLogic component" option instead? I have handled this situation the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a&amp;nbsp; new assembly&lt;/P&gt;&lt;P&gt;2. Save assembly as required name (job no, order no, etc.)&lt;/P&gt;&lt;P&gt;3. Place iLogic component (it will add an -01, -02 etc. to that assembly and non-standard parts)&lt;/P&gt;&lt;P&gt;4. Configure assembly when placing&lt;/P&gt;&lt;P&gt;5. Save Master assembly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If needed you can rename (normalize) files in the browser. Just a thought.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 14:22:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/update-ilogic-rule-when-filenames-change/m-p/7578590#M120972</guid>
      <dc:creator>Ted.F</dc:creator>
      <dc:date>2017-11-28T14:22:52Z</dc:date>
    </item>
  </channel>
</rss>

