<?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 change Filename in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7042878#M101515</link>
    <description>&lt;P&gt;Right, that's usefull! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But imagine that i can't "control" the Part name, is there a way that i can make a rule that goes read the current name of the Part end then use it?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 08:28:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-26T08:28:29Z</dc:date>
    <item>
      <title>iLogic change Filename</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7027301#M101513</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a rule in one assembly that changes the parameters of a part in it, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter("PERFIL UEEE.IPT", "d7")=COMPRIMENTO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But sometimes i have the necessity of changing the part filename and when i change it, the rule enters in error state because the filename changed, how can i make the rule "refresh" the part filename, &lt;U&gt;PERFIL UEEE.IPT&lt;/U&gt;?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 16:30:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7027301#M101513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-19T16:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic change Filename</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7027699#M101514</link>
      <description>&lt;P&gt;You need to "stabalize" the name of the part&lt;/P&gt;
&lt;P&gt;With the assembly open look for the part in the model tree. Rename the part in the model tree&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example rename "PERFIL UEEE" to "MY_PART"&lt;/P&gt;
&lt;P&gt;Then use that in your rule&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Parameter("MY_PART.IPT", "d7")=COMPRIMENTO&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:04:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7027699#M101514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-19T19:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic change Filename</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7042878#M101515</link>
      <description>&lt;P&gt;Right, that's usefull! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But imagine that i can't "control" the Part name, is there a way that i can make a rule that goes read the current name of the Part end then use it?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 08:28:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7042878#M101515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-26T08:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic change Filename</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7044476#M101516</link>
      <description>Let me try to explain another way.&lt;BR /&gt;&lt;BR /&gt;When you rename the part in the model tree it retains that name even&lt;BR /&gt;when you do a replace or change ipart members.&lt;BR /&gt;&lt;BR /&gt;So it remains constant the file name is irrelevant for the ilogic rule.&lt;BR /&gt;&lt;BR /&gt;The rule uses the model tree name not the file name. So it will work&lt;BR /&gt;everytime regardless of which file name the  part has.</description>
      <pubDate>Wed, 26 Apr 2017 17:37:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7044476#M101516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-26T17:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic change Filename</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7048945#M101517</link>
      <description>&lt;P&gt;I understand that, i didn't explain entirely the case, so i have my original IAM and PART:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RFORÇO.IAM---&amp;gt; PERFIL UEE.IPT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I&amp;nbsp;run this in a database program and it gives the IAM and PART new references to the files names, that are the same in the model tree name, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1A300.IAM---&amp;gt;1A301.IPT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, to my knowledge today, i can't change the names in the model tree, &amp;nbsp;so I&amp;nbsp;was wondering if I&amp;nbsp;can, with a rule, "read" the new names and use them to update the rules with the new names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was I&amp;nbsp;clear? Hope so.&lt;/P&gt;&lt;P&gt;And thank you for the time spending with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 09:53:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7048945#M101517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-28T09:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic change Filename</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7049339#M101518</link>
      <description>&lt;P&gt;And I'm guessing the rules that reference the component/part names are in those parts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best solution I see is to write another iLogic that is run DURING THE RULE THAT CHANGES THE NAME that will go into the part's iLogic rule TEXT and replace String A with String B. String A being the old file name, and string B being the new file name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look into this thread for more info on iLogic Documentation.&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-api-documentation/m-p/6785772/highlight/true#M69099" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/ilogic-api-documentation/m-p/6785772/highlight/true#M69099&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:09:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-change-filename/m-p/7049339#M101518</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-04-28T13:09:10Z</dc:date>
    </item>
  </channel>
</rss>

