<?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: External component has thrown an exception error with Navisworks 2024 controls API in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11939482#M1400</link>
    <description>&lt;P&gt;Ok, Thanks, that clears my confusion &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 18:07:22 GMT</pubDate>
    <dc:creator>alexisDVJML</dc:creator>
    <dc:date>2023-05-03T18:07:22Z</dc:date>
    <item>
      <title>External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11935542#M1394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an "external component has thrown an exception" issue with Navisworks 2024 controls API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autodesk.Navisworks.Api.Controls.ApplicationControl.ApplicationType = ApplicationType.SingleDocument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'------Exception is thrown here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ApplicationControl.Initialize()&lt;BR /&gt;Dim documentControl1 As DocumentControl = New DocumentControl()&lt;BR /&gt;documentControl1.SetAsMainDocument()&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Same code is working fine from Navisworks 2018 to 2023. Has anyone managed to solve similar problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jukka&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 08:16:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11935542#M1394</guid>
      <dc:creator>Jukka60</dc:creator>
      <dc:date>2023-05-02T08:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11935984#M1395</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/522175"&gt;@Jukka60&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are already aware of this issue.&lt;BR /&gt;We have already raised the issue with the Navisworks engineering team.&amp;nbsp;&lt;BR /&gt;&lt;A id="key-val" class="issue-link" href="https://jira.autodesk.com/browse/NW-59164" rel="6343109" data-issue-key="NW-59164" target="_blank"&gt;&lt;STRONG&gt;NW-59164&amp;nbsp;&lt;/STRONG&gt; -&amp;nbsp;&lt;/A&gt;&lt;A id="key-val" class="issue-link" href="https://jira.autodesk.com/browse/NW-59164" rel="6343109" data-issue-key="NW-59164" target="_blank"&gt;Issue in Navisworks 2024 SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I will get back to you when I get an update from the engineering team.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 11:52:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11935984#M1395</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-05-02T11:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11936070#M1396</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5661631"&gt;@naveen.kumar.t&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;What is the process to access this issues list?&lt;/P&gt;&lt;P&gt;I just tried to click on this link, got MSFT authorization dialog and ended with:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexisDVJML_0-1683030548382.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1209498iFB05821D75BACD0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexisDVJML_0-1683030548382.png" alt="alexisDVJML_0-1683030548382.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;One of the most confusing login message I ever seen &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 12:29:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11936070#M1396</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2023-05-02T12:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11936243#M1397</link>
      <description>&lt;P&gt;I too am experiencing this issue. I hadn't posted yet as I was trying a bunch of things first to eliminate local configuration issues.&amp;nbsp; I've tried this on 2 separate systems with the same results: exception thrown when the Initialize method is called.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Navisworks seems to run fine on its own, the only issue for me is with automation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Systems: Windows 10 enterprise, Windows 10Pro&lt;/P&gt;&lt;P&gt;Navisworks Simulate 2024&lt;/P&gt;&lt;P&gt;Navisworks 2023 SDK from here:&amp;nbsp;&lt;A href="https://www.autodesk.com/developer-network/platform-technologies/navisworks" target="_blank" rel="noopener"&gt;https://www.autodesk.com/developer-network/platform-technologies/navisworks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples that come with the SDK are failing as-is without modification when calling:&lt;/P&gt;&lt;P&gt;Autodesk.Navisworks.Api.Controls.ApplicationControl.Initialize();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is one simple example "FileManipulation" that doesn't error as it is not calling Initialize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception details:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;System.Runtime.InteropServices.SEHException&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;StackTrace " at LcOwApplication.InitialiseApp(LcOwApplicationAppConfig* )\r\n at Autodesk.Navisworks.Internal.ApiImplementation.ApplicationImpl.InitialiseApi(ApplicationConfig config)\r\n at Autodesk.Navisworks.Api.Controls.ApplicationControl.InitializeImpl()\r\n at ControlsAndCOM.Program.XMain() in C:\\Program Files\\Autodesk\\Navisworks Simulate 2024\\api\\NET\\examples\\Basic Examples\\CSharp\\ControlsAndCOM\\Program.cs:line 69\r\n at ControlsAndCOM.Program.Main(String[] args) in C:\\Program Files\\Autodesk\\Navisworks Simulate 2024\\api\\NET\\examples\\Basic Examples\\CSharp\\ControlsAndCOM\\Program.cs:line 54"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TargetSite {Void LcOwApplication.InitialiseApp(LcOwApplicationAppConfig*)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 13:31:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11936243#M1397</guid>
      <dc:creator>clhicks9AZUF</dc:creator>
      <dc:date>2023-05-02T13:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11937091#M1398</link>
      <description>I've rolled back to Navisworks 2023 and confirmed it gets past the SEHException when calling ApplicationControl.Initialize();</description>
      <pubDate>Tue, 02 May 2023 18:56:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11937091#M1398</guid>
      <dc:creator>clhicks9AZUF</dc:creator>
      <dc:date>2023-05-02T18:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11937886#M1399</link>
      <description>&lt;P&gt;I checked with the Navisworks Engineering team. The Engineering team said they have no updates.&lt;/P&gt;
&lt;P&gt;The Engineering team is yet to analyze this issue.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6001790"&gt;@alexisDVJML&lt;/a&gt;&amp;nbsp;&amp;nbsp;the link I shared will only accessed by Internal Autodesk members.&lt;/P&gt;
&lt;P&gt;That's why you are getting an error message.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 05:47:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11937886#M1399</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-05-03T05:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11939482#M1400</link>
      <description>&lt;P&gt;Ok, Thanks, that clears my confusion &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 18:07:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/11939482#M1400</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2023-05-03T18:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12006206#M1401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/522175"&gt;@Jukka60&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Engineering team is able to reproduce the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The issue will be fixed in next NW update (Navisworks 2024 Update 1).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For now, the workaround is to add the installation directory of Navisworks to the path before calling&amp;nbsp;&lt;TT&gt;Autodesk.Navisworks.Api.Controls.ApplicationControl.Initialize();&lt;/TT&gt;&amp;nbsp;e.g. something like&amp;nbsp;&lt;TT&gt;Environment.SetEnvironmentVariable("PATH", Environment.GetEnvironmentVariable("PATH") + ";" + nwInstallDir);&lt;/TT&gt;&amp;nbsp;where&amp;nbsp;&lt;TT&gt;nwInstallDir&lt;/TT&gt;&amp;nbsp;has a value corresponding to where NW is installed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 04:43:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12006206#M1401</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-06-02T04:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12006253#M1402</link>
      <description>&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the information, workaround works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 05:35:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12006253#M1402</guid>
      <dc:creator>Jukka60</dc:creator>
      <dc:date>2023-06-02T05:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12201634#M1403</link>
      <description>&lt;P&gt;Is this fixed now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A path setting does not work for me in Windows 11, and does this work when users in an enterprise environment only have simple user rights?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eddy&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:49:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12201634#M1403</guid>
      <dc:creator>etick</dc:creator>
      <dc:date>2023-08-28T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: External component has thrown an exception error with Navisworks 2024 controls API</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12201660#M1404</link>
      <description>&lt;P&gt;Ok set the path in the Windows settings and now get a new exception&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at LcOwApplication.InitialiseApp(LcOwApplicationAppConfig* )&lt;BR /&gt;at Autodesk.Navisworks.Internal.ApiImplementation.ApplicationImpl.InitialiseApi(ApplicationConfig config)&lt;BR /&gt;at Autodesk.Navisworks.Api.Controls.ApplicationControl.InitializeImpl()&lt;BR /&gt;at MDIViewer.Program.XMain() in D:\SDK\Navisworks Manage 2024\NET\examples\Controls\Viewers\MDIViewer\Program.cs:line 77&lt;BR /&gt;at MDIViewer.Program.Main() in D:\SDK\Navisworks Manage 2024\NET\examples\Controls\Viewers\MDIViewer\Program.cs:line 49&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is in the original SDK sample viewer&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/external-component-has-thrown-an-exception-error-with-navisworks/m-p/12201660#M1404</guid>
      <dc:creator>etick</dc:creator>
      <dc:date>2023-08-28T14:58:37Z</dc:date>
    </item>
  </channel>
</rss>

