<?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.   Copy a drawing file in one folder and save it in another folder in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244943#M50895</link>
    <description>My.Computer.FileSystem.CopyFile(Filedata, Filework, False) - works well!&lt;BR /&gt;Thank you so much )))</description>
    <pubDate>Fri, 16 Apr 2021 16:40:57 GMT</pubDate>
    <dc:creator>smart-cad</dc:creator>
    <dc:date>2021-04-16T16:40:57Z</dc:date>
    <item>
      <title>iLogic.   Copy a drawing file in one folder and save it in another folder</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10243976#M50892</link>
      <description>&lt;P&gt;Good afternoon everyone!&lt;BR /&gt;How can I copy a drawing file in one folder and save it in another folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Filedata&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Filework&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
	
&lt;SPAN&gt;Filedata&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; + &lt;SPAN&gt;"\DATA\Drawing_1.idw"&lt;/SPAN&gt;
&lt;SPAN&gt;Filework&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; + &lt;SPAN&gt;"\Drawing_1.idw"&lt;/SPAN&gt;	
	
	

&lt;SPAN&gt;Select&lt;/SPAN&gt; &lt;SPAN&gt;Case&lt;/SPAN&gt; &lt;SPAN&gt;OPTION_C&lt;/SPAN&gt;
	&lt;SPAN&gt;Case&lt;/SPAN&gt; &lt;SPAN&gt;"OPTION-C0"&lt;/SPAN&gt;
					
	&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;.&lt;SPAN&gt;Application&lt;/SPAN&gt;.&lt;SPAN&gt;FileManager&lt;/SPAN&gt;.&lt;SPAN&gt;DeleteFile&lt;/SPAN&gt;(&lt;SPAN&gt;Filework&lt;/SPAN&gt;)				
					
	&lt;SPAN&gt;Case&lt;/SPAN&gt; &lt;SPAN&gt;"OPTION-C1"&lt;/SPAN&gt;

					
	&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;Documents&lt;/SPAN&gt;.&lt;SPAN&gt;Open&lt;/SPAN&gt;(&lt;SPAN&gt;Filedata&lt;/SPAN&gt;, &lt;SPAN&gt;False&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;Filework&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
	&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;)

	&lt;SPAN&gt;Case&lt;/SPAN&gt; &lt;SPAN&gt;Else&lt;/SPAN&gt; 
		&lt;SPAN&gt;'MessageBox.Show("***", "Title") &lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Select&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Apr 2021 11:52:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10243976#M50892</guid>
      <dc:creator>smart-cad</dc:creator>
      <dc:date>2021-04-16T11:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic.   Copy a drawing file in one folder and save it in another folder</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244238#M50893</link>
      <description>&lt;P&gt;You can use the following method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Dim oOldNamePath As String = "C:\Temp\MyFolder\MyDrawing.idw"
Dim oNewNamePath As String = "C:\Temp\MyDrawing.idw"
System.IO.File.Copy(oOldNamePath, oNewNamePath, False)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.io.file.copy?view=net-5.0" target="_blank" rel="noopener"&gt;System.IO.File.Copy()&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;If you want and have time, I would appreciate your Vote(s) for &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank" rel="noopener"&gt;My IDEAS &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/SPAN&gt;&lt;/A&gt;or you can Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank" rel="noopener"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 13:18:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244238#M50893</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-04-16T13:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic.   Copy a drawing file in one folder and save it in another folder</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244636#M50894</link>
      <description>&lt;P&gt;Here's another similar method that can be used in the same way in iLogic (vb.net):&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.fileio.filesystem.copyfile?view=net-5.0" target="_blank" rel="noopener"&gt;FileIO.FileSystem.CopyFile()&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 15:11:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244636#M50894</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-04-16T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic.   Copy a drawing file in one folder and save it in another folder</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244943#M50895</link>
      <description>My.Computer.FileSystem.CopyFile(Filedata, Filework, False) - works well!&lt;BR /&gt;Thank you so much )))</description>
      <pubDate>Fri, 16 Apr 2021 16:40:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/10244943#M50895</guid>
      <dc:creator>smart-cad</dc:creator>
      <dc:date>2021-04-16T16:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic.   Copy a drawing file in one folder and save it in another folder</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/12077020#M50896</link>
      <description>&lt;P&gt;I love you all. I love this site. It's so inspiring. Thanks for being here guys.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 17:54:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-copy-a-drawing-file-in-one-folder-and-save-it-in-another/m-p/12077020#M50896</guid>
      <dc:creator>dusan.naus.trz</dc:creator>
      <dc:date>2023-07-03T17:54:04Z</dc:date>
    </item>
  </channel>
</rss>

