<?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 Cycle ThisDoc.Document.SaveAs iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047200#M120581</link>
    <description>&lt;P&gt;Why does this ilogic code not work?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;FileName&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;


&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;i&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 1 &lt;SPAN&gt;To&lt;/SPAN&gt; 10
	
	&lt;SPAN&gt;FileName&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"VertY"&lt;/SPAN&gt; + &lt;SPAN&gt;i&lt;/SPAN&gt;.&lt;SPAN&gt;ToString&lt;/SPAN&gt; + &lt;SPAN&gt;".ipt"&lt;/SPAN&gt;


&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;FileName&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)

&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I want to save the same file 10 times with different names&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 09:38:49 GMT</pubDate>
    <dc:creator>flyingdelorean.ru</dc:creator>
    <dc:date>2021-02-01T09:38:49Z</dc:date>
    <item>
      <title>Cycle ThisDoc.Document.SaveAs iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047200#M120581</link>
      <description>&lt;P&gt;Why does this ilogic code not work?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;FileName&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;


&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;i&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 1 &lt;SPAN&gt;To&lt;/SPAN&gt; 10
	
	&lt;SPAN&gt;FileName&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"VertY"&lt;/SPAN&gt; + &lt;SPAN&gt;i&lt;/SPAN&gt;.&lt;SPAN&gt;ToString&lt;/SPAN&gt; + &lt;SPAN&gt;".ipt"&lt;/SPAN&gt;


&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;FileName&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)

&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I want to save the same file 10 times with different names&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 09:38:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047200#M120581</guid>
      <dc:creator>flyingdelorean.ru</dc:creator>
      <dc:date>2021-02-01T09:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle ThisDoc.Document.SaveAs iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047258#M120584</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4408311"&gt;@flyingdelorean.ru&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is working, what is it that is not working for you? Do you get any error messages? See below GIF, which shows it is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MultiSaveAs.gif" style="width: 676px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/874932i4C498BE3021D5C79/image-dimensions/676x395?v=v2" width="676" height="395" role="button" title="MultiSaveAs.gif" alt="MultiSaveAs.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:08:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047258#M120584</guid>
      <dc:creator>dutt.thakar</dc:creator>
      <dc:date>2021-02-01T10:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle ThisDoc.Document.SaveAs iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047314#M120586</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SaveAs.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/874948i06AB5AD205997FC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SaveAs.png" alt="SaveAs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SaveAs2.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/874949iD3AB604B9E013001/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SaveAs2.png" alt="SaveAs2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  Probably because of the need to overwrite existing files&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 10:31:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/cycle-thisdoc-document-saveas-ilogic/m-p/10047314#M120586</guid>
      <dc:creator>flyingdelorean.ru</dc:creator>
      <dc:date>2021-02-01T10:31:15Z</dc:date>
    </item>
  </channel>
</rss>

