<?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 to set filename. in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10507299#M47550</link>
    <description>&lt;P&gt;Thanks I will try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kobus&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jul 2021 04:55:53 GMT</pubDate>
    <dc:creator>KobusE</dc:creator>
    <dc:date>2021-07-30T04:55:53Z</dc:date>
    <item>
      <title>iLogic to set filename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10501637#M47546</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;I have created an iPart that I use to create a part with a number of different parameters, i.e. height, width, angle, number of certain occurences, etc. Its actually a fairly simplistic setup and works well. I have now created a form to drive the variables in a single popup, which also works well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my next step is to add an entry on the form where I can specify the file name the new part should have. Currently I do a file saveas manually and save the file in the following format - PART - Height x Angle x Width x Number and then place this in an assembly. Most of the variance is in the height and number, angle and width generally do not change very often.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot share anything due to NDA restrictions but I think my description should do the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot find a way to set the filename either as a rule or as an option within the form environment. Can it be done even?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any thoughts on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kobus&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 08:07:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10501637#M47546</guid>
      <dc:creator>KobusE</dc:creator>
      <dc:date>2021-07-28T08:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to set filename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10502419#M47547</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/247918"&gt;@KobusE&lt;/a&gt;.&amp;nbsp; If you want the iPart's file name to be a collection of the iPart's parameter/property values, put together in a custom way, have you considered setting this up within the spreadsheet view of the iPart factory?&amp;nbsp; In the spreadsheet, select the cell for your iPart member where you want to set-up/store this data, then use something like the &lt;A href="https://support.microsoft.com/en-us/office/concat-function-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2" target="_blank" rel="noopener"&gt;CONCAT&lt;/A&gt;(), &lt;A href="https://support.microsoft.com/en-us/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d" target="_blank" rel="noopener"&gt;CONCATENATE&lt;/A&gt;(), or &lt;A href="https://support.microsoft.com/en-us/office/textjoin-function-357b449a-ec91-49d0-80c3-0e8fc845691c" target="_blank" rel="noopener"&gt;TEXTJOIN&lt;/A&gt;() functions to assemble data from the other cells in that row with your custom formatting text to form the file name you want.&amp;nbsp; Just a thought.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:50:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10502419#M47547</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-07-28T13:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to set filename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10503279#M47548</link>
      <description>&lt;P&gt;You could user the PostPrivateEvents in Inventor:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Dim a As Document = ThisDoc.Document
Dim p As CommandManager = ThisApplication.CommandManager

p.PostPrivateEvent(PrivateEventTypeEnum.kFileNameEvent, "PART - Height x Angle x Width x Number.ipt")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 18:45:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10503279#M47548</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2021-07-28T18:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to set filename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10507295#M47549</link>
      <description>&lt;P&gt;Thanks for the suggestion, however I still do not see an option where the filename generated would then be used to save the new file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kobus&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 04:55:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10507295#M47549</guid>
      <dc:creator>KobusE</dc:creator>
      <dc:date>2021-07-30T04:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to set filename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10507299#M47550</link>
      <description>&lt;P&gt;Thanks I will try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kobus&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 04:55:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10507299#M47550</guid>
      <dc:creator>KobusE</dc:creator>
      <dc:date>2021-07-30T04:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic to set filename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10512971#M47551</link>
      <description>&lt;P&gt;You are correct you cannot create a custom iPart filename containing a custom parameter.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/i-part-use-custom-parameter-as-part-of-member-file-name/td-p/7989397" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-forum/i-part-use-custom-parameter-as-part-of-member-file-name/td-p/7989397&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the excel table does not recalculate in order to produce a new filename based on the custom entries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alternate is to publish to the content center and this will create the filename based on custom parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 02:32:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-to-set-filename/m-p/10512971#M47551</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-08-02T02:32:28Z</dc:date>
    </item>
  </channel>
</rss>

