<?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 crash when IUpdater calls AnalyticalToPhysicalAssociationManager in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011916#M3159</link>
    <description>&lt;P style="font-weight: 400;"&gt;Dear Seth,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thank you for your update, appreciation and business case.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;I added it to the issue &lt;U&gt;&lt;STRONG&gt;REVIT-226399&lt;/STRONG&gt;&lt;/U&gt; [IUpdater using AnalyticalToPhysicalAssociationManager crashes Revit].&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;The development team has already scheduled it for an upcoming sprint.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Best regards,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Jeremy&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 15:39:47 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2024-09-10T15:39:47Z</dc:date>
    <item>
      <title>Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13009732#M3156</link>
      <description>&lt;P&gt;Morning All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a reproducible test case demonstrating a Revit crash which appears to be deep in the guts of the Revit API.&amp;nbsp; The crash manifests in a very specific use case where we try to use AnalyticalToPhysicalAssociationManager behavior inside an IUpdater.&amp;nbsp; Specifically, the crash only occurs when the IUpdater.Execute() is triggered by a "reset beam system" action by the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The big-picture purpose of the logic in question is as follows:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Register an IUpdater which is triggered by&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Element.GetChangeTypeElementAddition()​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When the IUpdater.Execute() method is raised, get the new ElementId list via&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;ICollection&amp;lt;ElementId&amp;gt; allAddedIDs = data.GetAddedElementIds();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the list is NOT null or empty then iterate it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;During the iteration, if the current new element has BuiltInCategory == BuiltInCategory.OST_StructuralFraming then create a new AnalyticalMember at a dummy location.&amp;nbsp; &lt;EM&gt;Yes, I know we could do this with filters on the trigger - I just didn't for this demo test case.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the new&amp;nbsp;AnalyticalMember was created successfully, then instantiate an&amp;nbsp;AnalyticalToPhysicalAssociationManager&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use the new&amp;nbsp;AnalyticalToPhysicalAssociationManager to associate the new analytical ID to the current newly created physical element obtained in the&amp;nbsp;UpdaterData&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The above sequence of steps performs perfectly in a wide variety of use cases, including singular copy/past of existing structural framing elements, bulk copy/paste of many existing structural framing elements, and hand modeling of new framing elements.&amp;nbsp; But it fails spectacularly when the IUpdater is triggered by a Beam System "reset" action.&amp;nbsp; When this occurs, I see a complete crash of Revit itself and no amount of error handling or try/catch can capture the issue or prevent crash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached test case is isolated using a simplified stripped-down macro inside the test .rvt file.&amp;nbsp; But I have also tested using a similar program as an ExternalApplication and used Visual Studio 2022 debugger to attach to the Revit process.&amp;nbsp; When VS22 breaks at the exception, it does not point to the addin source, but instead points into RevtiDBAPI.dll&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_0-1725898215471.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407120i0CFEFDC10843B25B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sroswurm4GJQU_0-1725898215471.png" alt="sroswurm4GJQU_0-1725898215471.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_1-1725898226616.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407121i5317A0E30F11D1DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sroswurm4GJQU_1-1725898226616.png" alt="sroswurm4GJQU_1-1725898226616.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="sroswurm4GJQU_2-1725898250876.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407123i1036C5F78BCAEB82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sroswurm4GJQU_2-1725898250876.png" alt="sroswurm4GJQU_2-1725898250876.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached for a Revit 2024 project file containing both the macro and the structural geometry needed to observe the crash.&amp;nbsp; To replicate the crash, simply unregister and then re-register the updater to make sure the IUpdater is active in the Document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_6-1725899066525.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407145i3D9DC5764C2987B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sroswurm4GJQU_6-1725899066525.png" alt="sroswurm4GJQU_6-1725899066525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then reset the beam system found in the model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_4-1725898842221.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407137i1C656DE890EB90D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sroswurm4GJQU_4-1725898842221.png" alt="sroswurm4GJQU_4-1725898842221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will observe after a brief hang that the Revit crashes and closes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To observe the IUpdater working as expected with no crash, simply hand-model a new beam, or copy/paste one or more existing beams.&amp;nbsp; You'll see that no errors are thrown and the new analytical elements are created at the hard-coded dummy location and associated correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The full source of the IUpdater is found in the Macro Manager:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_5-1725899013246.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1407142i649A91ECE4E0B587/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sroswurm4GJQU_5-1725899013246.png" alt="sroswurm4GJQU_5-1725899013246.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should also be able to observe that there is no crash if you comment out line 153 in the macro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;myManager.AddAssociation(newAnalyticalMember.Id, newlyCreatedId);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hoping we can get some resolution for this API bug, as it's causing considerable issues for our customers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:37:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13009732#M3156</guid>
      <dc:creator>sroswurm4GJQU</dc:creator>
      <dc:date>2024-09-09T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011026#M3157</link>
      <description>&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;Dear Seth,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;Thank you for your report, description and sample material. Sorry to hear about this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;I logged the issue &lt;U&gt;&lt;STRONG&gt;REVIT-226399&lt;/STRONG&gt;&lt;/U&gt; [IUpdater using AnalyticalToPhysicalAssociationManager crashes Revit] with our development team for this on your behalf as it requires further exploration and possibly a modification to our software. Please make a note of this number for future reference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;You are welcome to request an update on the status of this issue or to provide additional information on it at any time quoting this change request number.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;This issue is important to me. What can I do to help?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;This issue needs to be assessed by our engineering team and prioritised against all other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;"&gt;&lt;SPAN&gt;Impact on your application and/or your development.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;"&gt;&lt;SPAN&gt;The number of users affected.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;"&gt;&lt;SPAN&gt;The potential revenue impact to you.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;"&gt;&lt;SPAN&gt;The potential revenue impact to Autodesk.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;"&gt;&lt;SPAN&gt;Realistic timescale over which a fix would help you.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;"&gt;&lt;SPAN&gt;In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;This information is crucial. Our engineering team has limited resources and must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 07:58:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011026#M3157</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-09-10T07:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011872#M3158</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As always, thanks for your effort in helping authenticate the issue.&amp;nbsp; Please see below for a few thoughts on each of the topics you listed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Impact on your application and/or your development.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This one is definitely a big deal for us and our customers.&amp;nbsp; The specific customer who reported the issue works a lot with beam systems, and they actually ended up deciding to temporarily uninstall our product while we were tracing the crash.&amp;nbsp; So clearly the problem has a serious impact for all parties involved - impact on revenue for us and on productivity for the customer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The crash also has a tangible impact on our development efforts moving forward.&amp;nbsp; We will be forced to divert resources ASAP to search for a workaround which protects our customers from this flaw in the Revit API.&amp;nbsp; That means less manpower moving us forward on new features our customers are excited to see while we try to find a way to mitigate the crash problem.&amp;nbsp; The solution will most likely involve attempting to pre-detect whether a Beam System is involved each and every time the IUpdater is called.&amp;nbsp; This means we'll be stuck with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Extra logic we never wanted to have&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Extra overhead during runtime to execute more protective logic&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Loss of desired behavior any time Beam Systems are involved.&amp;nbsp; Our new safety checks (if we're able to implement them) will completely preclude the intended behavior of the IUpdater, so there will be a measurable loss of functionality in order to prevent the risk of Revit crashes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;The number of users affected.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The customer base for our particular addin is a subset of our broader base of structural engineers who use our standalone analysis and design tools.&amp;nbsp; That broader base from which we're seeking to grow Revit-integrated users is about 20,000 active monthly users.&amp;nbsp; So we're serving a large and influential market and we'd very much love to see that entire group become aggressively Revit-integrated, but the API has to be rock-solid for us to maintain trust with the customer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Beyond our particular customer base, I can easily see this crash being a big problem for any other structural software vendor who uses the Revit API in Revit 2023 or newer to take advantage of the newly overhauled Revit analytical framework.&amp;nbsp; Essentially any Revit addin in the world which attempts to call&amp;nbsp;AnalyticalToPhysicalAssociationManager in response to a user action in the model is at risk of this same crash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;The potential revenue impact to you.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This is tightly coupled with the discussion above regarding growing the customer base via trust and reliable performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;The potential revenue impact to Autodesk.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If the crash persists, it could easily start to erode customer trust in many aspects of Revit analytical workflows.&amp;nbsp; The Revit structures team at Autodesk has been working very hard for a long time to build buy-in, trust, and higher comfort level among structural engineers regarding Revit-based analytical modeling, so I think it's very important to get a timely solution for anything that could harm that trust.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Realistic timescale over which a fix would help you.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;It stands to reason that faster is certainly better for receiving a Revit API fix from Autodesk.&amp;nbsp; In the long-term, we and other vendors will have no choice but to attempt a workaround which protects our customers from catastrophic data loss due to a Revit crash.&amp;nbsp; If a Revit patch was available VERY soon, that extra would be unnecessary.&amp;nbsp; But as that time horizon stretches, we'll be stuck with progressively less ideal solutions which rob customers of convenience and desired behaviors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Not applicable in this case, since we are actually discussing the malfunction of an existing feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Seth&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:23:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011872#M3158</guid>
      <dc:creator>sroswurm4GJQU</dc:creator>
      <dc:date>2024-09-10T15:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011916#M3159</link>
      <description>&lt;P style="font-weight: 400;"&gt;Dear Seth,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thank you for your update, appreciation and business case.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;I added it to the issue &lt;U&gt;&lt;STRONG&gt;REVIT-226399&lt;/STRONG&gt;&lt;/U&gt; [IUpdater using AnalyticalToPhysicalAssociationManager crashes Revit].&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;The development team has already scheduled it for an upcoming sprint.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Best regards,&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Jeremy&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:39:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13011916#M3159</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-09-10T15:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13012001#M3160</link>
      <description>&lt;P&gt;That's great to hear!!&amp;nbsp; Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 16:18:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13012001#M3160</guid>
      <dc:creator>sroswurm4GJQU</dc:creator>
      <dc:date>2024-09-10T16:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13038394#M3161</link>
      <description>&lt;P&gt;So, simple it is not.&amp;nbsp;The problem seems to be related to the fact that we have 2 updaters which are modifying the same unique element: AnalyticalToPhysicalAssociationManager.&amp;nbsp;When we reset a beam system, several things happen:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Some beams are created which will trigger the new updater to create new AM elements and add association with the added physical element; this will mark atoms touched for AnalyticalToPhysicalAssociationManager, because we are modify association repo&lt;/LI&gt;
&lt;LI&gt;Some beams are deleted: this will trigger AssociationsDynamicUpdater to execute, which will remove the association for the deleted elements, marking atoms touched for the same AnalyticalToPhysicalAssociationManager, because we are modify association repo&lt;/LI&gt;
&lt;LI&gt;An exception is raised, because we have 2 updaters that are modifying the same element: Updater c788ec8b-59af-482e-a20a-08274fbbd20d (LightBox updater: AssociationsDynamicUpdater) is changing the same data in an element as updater 9d15d63d-a21a-4ba4-ae00-0797ca0fa4e7 (the new updater).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 13:42:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13038394#M3161</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-09-23T13:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13050246#M3162</link>
      <description>&lt;P&gt;Dear Seth,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again for your report and sample material. The development team analysed the ticket &lt;U&gt;&lt;STRONG&gt;REVIT-226399&lt;/STRONG&gt;&lt;/U&gt; [IUpdater using AnalyticalToPhysicalAssociationManager crashes Revit] and say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue could be reproduced in the customer case (custom addin that is using Revit Updater mechanism to add associations between physical and analytical elements) when pressing the "Reset System" button from "Modify | Structural beam Systems &amp;gt; Edit Boundary" contextual ribbon when editing a beam system. Currently, there is no workaround for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;They closed the original ticket and submitted a new one &lt;U&gt;&lt;STRONG&gt;REVIT-227102&lt;/STRONG&gt;&lt;/U&gt; [IUpdater using AnalyticalToPhysicalAssociationManager crashes Revit] for the code fix. Please make a note of this number for future reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:06:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13050246#M3162</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-09-27T15:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Revit crash when IUpdater calls AnalyticalToPhysicalAssociationManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13056593#M3163</link>
      <description>&lt;P&gt;Dear Seth,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience and congratulations on eliciting a message from the development team that I have never seen before. Bad news, I'm afraid. They say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has been determined that this request involves refactoring (or rewriting) the existing mechanism to support the user's workflow. The current mechanism did not account for this scenario when it was originally implemented. Addressing this request might require significant effort and introduces risks to the existing capabilities that have been developed on top of the current mechanism.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, please don't hold your breath waiting for this to be fixed. Is there any other way to achieve the BIM result that you need, that avoids generating the problematic scenario? Sorry for the bother!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &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; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:18:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-crash-when-iupdater-calls/m-p/13056593#M3163</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-10-01T08:18:00Z</dc:date>
    </item>
  </channel>
</rss>

