<?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 save as in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668470#M117796</link>
    <description>Thanks for your help, but I found a rule that does what I want and also permit to select the folder!</description>
    <pubDate>Mon, 08 Jun 2015 14:24:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-08T14:24:09Z</dc:date>
    <item>
      <title>iLogic save as</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668049#M117794</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;i'm trying to add some code to my parametrization procedure.&lt;/P&gt;
&lt;P&gt;I wuold like to save as the file by a name linked by a parameter, how could I do it?&lt;/P&gt;
&lt;P&gt;now i'm using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dim newFileName as string&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;newFileName = InputBox("Prompt", "Title", "Default Entry")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ThisDoc.Document.SaveAs(newFileName , True)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but when i compile it says:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HRESULT: 0x80004005 (E_FAIL))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;how could I solv it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks a lot in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 08:47:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668049#M117794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-08T08:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic save as</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668382#M117795</link>
      <description>Try using ThisApplication.ActiveDococument rather than ThisDoc.&lt;BR /&gt;&lt;BR /&gt;Also, the first time a new document is saved, you should set the SaveCopyAs flag to false.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:37:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668382#M117795</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-06-08T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic save as</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668470#M117796</link>
      <description>Thanks for your help, but I found a rule that does what I want and also permit to select the folder!</description>
      <pubDate>Mon, 08 Jun 2015 14:24:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-as/m-p/5668470#M117796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-08T14:24:09Z</dc:date>
    </item>
  </channel>
</rss>

