<?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: Automatic transaction!!! in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846641#M41804</link>
    <description>&lt;P&gt;Please always research for a solution yourself before submitting a question here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, please also &lt;STRONG&gt;&lt;A href="https://www.weforum.org/agenda/2015/04/14-email-etiquette-rules-every-leader-should-know" target="_blank" rel="noopener"&gt;use exclamation points sparingly&lt;/A&gt;:&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;If you choose to use an exclamation point, use only one to convey excitement...&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;“People sometimes get carried away&amp;nbsp;and put a number of exclamation points at the end of their sentences. The result can appear too emotional or immature,” she writes. “Exclamation points should be used sparingly in writing.”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Automatic transactions were eliminated several years ago.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an eight years old discussion recommending you to avoid using it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2012/05/read-only-and-automatic-transaction-modes.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2012/05/read-only-and-automatic-transaction-modes.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry that they still appear in the sample code you found. It is apparently outdated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are several suggestions on how to manage manual transactions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.53" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.53&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simplest and most important recommendation is to keep it simple and encapsulate your manually managed transaction in a `using` statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2012/04/using-using-automagically-disposes-and-rolls-back.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2012/04/using-using-automagically-disposes-and-rolls-back.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 09:24:29 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2019-06-12T09:24:29Z</dc:date>
    <item>
      <title>Automatic transaction!!!</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846548#M41803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm doing the DevTv sample tutorials.&lt;/P&gt;&lt;P&gt;in the second tutorial solution file, I noticed that there is no Automatic Transactions Attribute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so how can I do the transactions after each modification I send to the application?!!&lt;/P&gt;&lt;P&gt;is there any other way to do this Automatically or even Manually?!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here it is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 08:31:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846548#M41803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-12T08:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic transaction!!!</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846641#M41804</link>
      <description>&lt;P&gt;Please always research for a solution yourself before submitting a question here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, please also &lt;STRONG&gt;&lt;A href="https://www.weforum.org/agenda/2015/04/14-email-etiquette-rules-every-leader-should-know" target="_blank" rel="noopener"&gt;use exclamation points sparingly&lt;/A&gt;:&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;If you choose to use an exclamation point, use only one to convey excitement...&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;“People sometimes get carried away&amp;nbsp;and put a number of exclamation points at the end of their sentences. The result can appear too emotional or immature,” she writes. “Exclamation points should be used sparingly in writing.”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Automatic transactions were eliminated several years ago.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an eight years old discussion recommending you to avoid using it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2012/05/read-only-and-automatic-transaction-modes.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2012/05/read-only-and-automatic-transaction-modes.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry that they still appear in the sample code you found. It is apparently outdated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are several suggestions on how to manage manual transactions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.53" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.53&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The simplest and most important recommendation is to keep it simple and encapsulate your manually managed transaction in a `using` statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2012/04/using-using-automagically-disposes-and-rolls-back.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2012/04/using-using-automagically-disposes-and-rolls-back.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 09:24:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846641#M41804</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-06-12T09:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic transaction!!!</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846685#M41805</link>
      <description>&lt;P&gt;Oh thanks a lot, Jeremy, those links are awesome,&lt;/P&gt;&lt;P&gt;also, accept my apology for posting a topic carelessly and&amp;nbsp;reminding the etiquette rules for posting in a forum.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 09:59:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/automatic-transaction/m-p/8846685#M41805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-12T09:59:50Z</dc:date>
    </item>
  </channel>
</rss>

