<?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: How can I delete a couple transactions in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-can-i-delete-a-couple-transactions/m-p/1965655#M154721</link>
    <description>If I understand your workflow, you can start a transaction (using the &lt;BR /&gt;
TransactionManager object), perform the first two steps and then abort the &lt;BR /&gt;
transaction.  Then you can start another transaction and do the final step &lt;BR /&gt;
and then end this transaction.  Aborting will get rid of any action that &lt;BR /&gt;
occurred since you started the transaction so there won't be any need to &lt;BR /&gt;
delete anything.&lt;BR /&gt;
&lt;BR /&gt;
It would also be possible to start a transaction perform all of the steps &lt;BR /&gt;
and then end that transaction.  For the user there will still only be a &lt;BR /&gt;
single undo.  Internally there's just more happening in that undo than is &lt;BR /&gt;
necessary.&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Ekins&lt;BR /&gt;
Autodesk Inventor API&lt;BR /&gt;
&lt;BR /&gt;
&lt;RSCHADER&gt; wrote in message news:5581920@discussion.autodesk.com...&lt;BR /&gt;
I have a macro that needs to insert an object and delete it to get some info &lt;BR /&gt;
I cannot get any other way, and then inserts the object again. However, the &lt;BR /&gt;
transaction manager lets the user undo all three. Is there some easy way to &lt;BR /&gt;
NOT record the first 2 portions as transactions, or do I need to group them &lt;BR /&gt;
all as one transaction. I'd rather not have to make the switch to &lt;BR /&gt;
ChangeProcessor yet, as this seems a fairly simple task just using &lt;BR /&gt;
transactions.&lt;/RSCHADER&gt;</description>
    <pubDate>Thu, 10 May 2007 20:06:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-05-10T20:06:16Z</dc:date>
    <item>
      <title>How can I delete a couple transactions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-can-i-delete-a-couple-transactions/m-p/1965654#M154720</link>
      <description>I have a macro that needs to insert an object and delete it to get some info I cannot get any other way, and then inserts the object again. However, the transaction manager lets the user undo all three. Is there some easy way to NOT record the first 2 portions as transactions, or do I need to group them all as one transaction. I'd rather not have to make the switch to ChangeProcessor yet, as this seems a fairly simple task just using transactions.</description>
      <pubDate>Thu, 10 May 2007 17:16:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-can-i-delete-a-couple-transactions/m-p/1965654#M154720</guid>
      <dc:creator>rschader</dc:creator>
      <dc:date>2007-05-10T17:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete a couple transactions</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-can-i-delete-a-couple-transactions/m-p/1965655#M154721</link>
      <description>If I understand your workflow, you can start a transaction (using the &lt;BR /&gt;
TransactionManager object), perform the first two steps and then abort the &lt;BR /&gt;
transaction.  Then you can start another transaction and do the final step &lt;BR /&gt;
and then end this transaction.  Aborting will get rid of any action that &lt;BR /&gt;
occurred since you started the transaction so there won't be any need to &lt;BR /&gt;
delete anything.&lt;BR /&gt;
&lt;BR /&gt;
It would also be possible to start a transaction perform all of the steps &lt;BR /&gt;
and then end that transaction.  For the user there will still only be a &lt;BR /&gt;
single undo.  Internally there's just more happening in that undo than is &lt;BR /&gt;
necessary.&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Ekins&lt;BR /&gt;
Autodesk Inventor API&lt;BR /&gt;
&lt;BR /&gt;
&lt;RSCHADER&gt; wrote in message news:5581920@discussion.autodesk.com...&lt;BR /&gt;
I have a macro that needs to insert an object and delete it to get some info &lt;BR /&gt;
I cannot get any other way, and then inserts the object again. However, the &lt;BR /&gt;
transaction manager lets the user undo all three. Is there some easy way to &lt;BR /&gt;
NOT record the first 2 portions as transactions, or do I need to group them &lt;BR /&gt;
all as one transaction. I'd rather not have to make the switch to &lt;BR /&gt;
ChangeProcessor yet, as this seems a fairly simple task just using &lt;BR /&gt;
transactions.&lt;/RSCHADER&gt;</description>
      <pubDate>Thu, 10 May 2007 20:06:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-can-i-delete-a-couple-transactions/m-p/1965655#M154721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-10T20:06:16Z</dc:date>
    </item>
  </channel>
</rss>

