<?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: Revit crashed when committing a transaction in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522167#M15858</link>
    <description>&lt;P&gt;Aha. Thank you for the explanation and background information. Well, remember that Revit is an end-user product. If you stuff it with a couple of thousand or more transactions it will probably crash sooner or later. When running a large batch of automated actions, you must implement &lt;U&gt;logging&lt;/U&gt; to keep track of where you are, &lt;U&gt;batching&lt;/U&gt; to restart occasionally before crashing, and &lt;U&gt;recovery&lt;/U&gt; to pick up again where you left off:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Building Coder article on&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Batch Processing and Monitoring Progress:&lt;/H4&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2022/06/parameters-snippets-batch-mode-and-self-signing.html#5" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2022/06/parameters-snippets-batch-mode-and-self-signing.html#5&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same on GitHub, now that Typepad is down:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://jeremytammik.github.io/tbc/a/1954_batch_snip_selfsign.html#5" target="_blank"&gt;http://jeremytammik.github.io/tbc/a/1954_batch_snip_selfsign.html#5&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 07:43:50 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2022-11-01T07:43:50Z</dc:date>
    <item>
      <title>Revit crashed when committing a transaction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11521704#M15855</link>
      <description>&lt;P&gt;I tried to connect pipes just created in Revit. Revit have a large chance of crashing directly at the action of committing the transaction.&amp;nbsp; As in pic Line 438, there were neither warnings nor any exception can be caught during the process (The log stopped at the commit action as shown in Pic2). How could this happen and could it be avoided? any limitations in Revit Transaction Commitment?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1605104293_1-1667266376891.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1134359iB2A731AE180A8C5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1605104293_1-1667266376891.png" alt="1605104293_1-1667266376891.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="1605104293_3-1667266518961.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1134362iCD23F5E4F274AD1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1605104293_3-1667266518961.png" alt="1605104293_3-1667266518961.png" /&gt;&lt;/span&gt;&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>Tue, 01 Nov 2022 01:36:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11521704#M15855</guid>
      <dc:creator>1605104293</dc:creator>
      <dc:date>2022-11-01T01:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crashed when committing a transaction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522101#M15856</link>
      <description>&lt;P&gt;The Revit API provides access to the same functionality as the end user interface. Therefore, you can test your intended Revit model creation steps manually in the end user interface first to verify that the behaviour you implement is supported by Revit and produces the desired result. Once that is verified, no such crash should happen when reproducing the same programmatically. If it does, please submit a complete minimal reproducible case to demonstrate the problem and enable the development team to verify, analyse and rectify it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is The Building Coder blog description of&amp;nbsp;a complete minimal reproducible case:&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#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, Typepad is still not working, and hence neither is The Building Coder blog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the equivalent link in The Building Coder GitHub tbc repository:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://jeremytammik.github.io/tbc/a/#1b" target="_blank"&gt;http://jeremytammik.github.io/tbc/a/#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:06:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522101#M15856</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-11-01T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crashed when committing a transaction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522153#M15857</link>
      <description>&lt;P&gt;Thanks Jeremy, I am afraid I can not repeat this process in the Revit end user interface, for the following reasons:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. the crash may happen at any commit action in the loop if it does happen, but may not occur in every command execution.&lt;/P&gt;&lt;P&gt;2. this addin as too many operations involved during executing, which i could not possibly repeat it manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an interesting bug, I will be watching for a solution / suggestion while keep analysing and debugging.&lt;/P&gt;&lt;P&gt;I will consider providing a case if it allows.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:39:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522153#M15857</guid>
      <dc:creator>1605104293</dc:creator>
      <dc:date>2022-11-01T07:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crashed when committing a transaction</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522167#M15858</link>
      <description>&lt;P&gt;Aha. Thank you for the explanation and background information. Well, remember that Revit is an end-user product. If you stuff it with a couple of thousand or more transactions it will probably crash sooner or later. When running a large batch of automated actions, you must implement &lt;U&gt;logging&lt;/U&gt; to keep track of where you are, &lt;U&gt;batching&lt;/U&gt; to restart occasionally before crashing, and &lt;U&gt;recovery&lt;/U&gt; to pick up again where you left off:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Building Coder article on&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Batch Processing and Monitoring Progress:&lt;/H4&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2022/06/parameters-snippets-batch-mode-and-self-signing.html#5" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2022/06/parameters-snippets-batch-mode-and-self-signing.html#5&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same on GitHub, now that Typepad is down:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://jeremytammik.github.io/tbc/a/1954_batch_snip_selfsign.html#5" target="_blank"&gt;http://jeremytammik.github.io/tbc/a/1954_batch_snip_selfsign.html#5&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:43:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crashed-when-committing-a-transaction/m-p/11522167#M15858</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-11-01T07:43:50Z</dc:date>
    </item>
  </channel>
</rss>

