<?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 Savecopyas via API clears undo stack in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/savecopyas-via-api-clears-undo-stack/m-p/8727292#M186706</link>
    <description>&lt;P&gt;When I manually save a copy as, I can retain my undo history. But when I call the same command through the api&lt;/P&gt;
&lt;PRE&gt;oDoc.SaveAs(SaveName, True)&lt;/PRE&gt;
&lt;P&gt;It saves the copy, but deletes the undo history. Is there a way to not have this happen?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2019 18:47:38 GMT</pubDate>
    <dc:creator>TA.Fehr</dc:creator>
    <dc:date>2019-04-12T18:47:38Z</dc:date>
    <item>
      <title>Savecopyas via API clears undo stack</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/savecopyas-via-api-clears-undo-stack/m-p/8727292#M186706</link>
      <description>&lt;P&gt;When I manually save a copy as, I can retain my undo history. But when I call the same command through the api&lt;/P&gt;
&lt;PRE&gt;oDoc.SaveAs(SaveName, True)&lt;/PRE&gt;
&lt;P&gt;It saves the copy, but deletes the undo history. Is there a way to not have this happen?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 18:47:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/savecopyas-via-api-clears-undo-stack/m-p/8727292#M186706</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2019-04-12T18:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Savecopyas via API clears undo stack</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/savecopyas-via-api-clears-undo-stack/m-p/8727493#M186707</link>
      <description>&lt;P&gt;Sorry, my mistake. There was another code calling some modifications to the saved file. These saves, although happening in the background were actually causing the active document's undo stack to clear.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 20:18:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/savecopyas-via-api-clears-undo-stack/m-p/8727493#M186707</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2019-04-12T20:18:31Z</dc:date>
    </item>
  </channel>
</rss>

