<?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: Autodesk.Navisworks.Api.pdb not loaded in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10139380#M5374</link>
    <description>&lt;P&gt;I'm having the same problem trying to use XBim library but I don't understand how you fix your problem, can someone explain? I tried to copy the library files to the Navisworks Dependencies folder but doesn't work.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Mar 2021 16:46:04 GMT</pubDate>
    <dc:creator>winderson2GYXS</dc:creator>
    <dc:date>2021-03-08T16:46:04Z</dc:date>
    <item>
      <title>Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/6359901#M5371</link>
      <description>&lt;P&gt;I am creating a Navisworks plugin that utilizes&amp;nbsp;&lt;A href="https://triangle.codeplex.com/" target="_blank"&gt;Triangle.Net&lt;/A&gt;&amp;nbsp;to create a mesh from the locations of MTEXT items. When I run the plugin in Navisworks I get this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/244078i53E1FDD14E58886D/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="assets error.PNG" title="assets error.PNG" width="787" height="525" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project builds fine and I get this error while debugging. The exception at the bottom says it can't load Triangle, but I'm not sure why.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll insert my code as well.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;

using Autodesk.Navisworks.Api.Plugins;
using Autodesk.Navisworks.Api;

using Autodesk.Navisworks.Api.ComApi;
using Autodesk.Navisworks.Api.Interop.ComApi;

using TriangleNet;
using TriangleNet.IO;
using TriangleNet.Geometry;

namespace Assets
{
    [PluginAttribute("Assets", "AKR",
       DisplayName = "Assets",
       ToolTip = "Attributes space to each room tag and locates all of the assets within that room.")]
    public class SaveViewpoints : AddInPlugin
    {
        public override int Execute(params string[] parameters)
        {
            InputGeometry roomCenters = new InputGeometry();
            InputGeometry sects = new InputGeometry();
            InputGeometry assets = new InputGeometry();
            Mesh mesh = new Mesh();
            Search search = new Search();
            ModelItemCollection matches = new ModelItemCollection();
            Document oDoc = Autodesk.Navisworks.Api.Application.ActiveDocument;

            // create search group / add conditions to the group / execute the search

            SearchCondition con1 = SearchCondition.HasPropertyByDisplayName("Item", "Type").EqualValue(VariantData.FromDisplayString("MTEXT"));
            search.SearchConditions.Add(con1);

            //make selection and execute search
            search.Selection.CopyFrom(oDoc.CurrentSelection.SelectedItems.DescendantsAndSelf);
            matches = search.FindAll(Autodesk.Navisworks.Api.Application.ActiveDocument, false);

            // Add the points. 
            foreach(ModelItem room in matches)
            {
                roomCenters.AddPoint(room.Geometry.BoundingBox.Center.X, room.Geometry.BoundingBox.Center.Y);
            }

            mesh.Triangulate(roomCenters);

            FileWriter.Write(mesh, "test.ele");
            
            /*for (int i = 0; i &amp;lt; matches.Count; i++)
            {

            }*/


            return 0;
        }
    }
}&lt;/PRE&gt;&lt;P&gt;Any help would be greatly appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:19:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/6359901#M5371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-01T15:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/6360750#M5372</link>
      <description>&lt;P&gt;I found the issue. I did not build Triangle.dll in the Navisworks 2016 directory. I figured this out by using Sysinternals Process Monitor to find the failed processes.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 20:36:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/6360750#M5372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-01T20:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/9405085#M5373</link>
      <description>&lt;P&gt;what do you mean by "&lt;SPAN&gt;build Triangle.dll in the Navisworks 2016 directory"?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 17:54:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/9405085#M5373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-27T17:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10139380#M5374</link>
      <description>&lt;P&gt;I'm having the same problem trying to use XBim library but I don't understand how you fix your problem, can someone explain? I tried to copy the library files to the Navisworks Dependencies folder but doesn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 16:46:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10139380#M5374</guid>
      <dc:creator>winderson2GYXS</dc:creator>
      <dc:date>2021-03-08T16:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10158913#M5375</link>
      <description>&lt;P&gt;This is a bad solution that only works for your project. The fact is that the PDB files are not provided on Autodesk's Symbol servers and prevent proper debugging. The only reason you managed to fix the issue is because you prevented Navisworks from crashing.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 21:59:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10158913#M5375</guid>
      <dc:creator>garylzimmer</dc:creator>
      <dc:date>2021-03-15T21:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10162446#M5376</link>
      <description>&lt;P&gt;&amp;nbsp;I am facing the same problem . The programs builds successfully but Navisworks crashes while running. The debug message is the same 'Autodesk.Navisworks.Api.pdb not loaded'.&amp;nbsp; How to solve&amp;nbsp; it?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 22:32:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/10162446#M5376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-16T22:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12142789#M5377</link>
      <description>&lt;P&gt;I put the external library dll in the Navisworks.exe folder ("C:\Program Files\Autodesk\Navisworks Manage XXXX\") as a trial and it solved the problem.&lt;BR /&gt;&lt;BR /&gt;Placing it in the Dependencies folder did not solve the problem in my environment.&lt;BR /&gt;If you want to place it in the Dependencies folder, you can set the PATH to "C:\Program Files\Autodesk\Navisworks\Manage XXXX\Dependencies" and pass it through.&lt;BR /&gt;&lt;BR /&gt;I will note my case specifically.&lt;BR /&gt;&lt;BR /&gt;I encountered this problem when using the JSON library (JSON.Net &lt;A href="https://www.newtonsoft.com/json" target="_blank"&gt;https://www.newtonsoft.com/json&lt;/A&gt;).&lt;BR /&gt;Specifically, I was able to work around the problem by placing "Newtonsoft.Json.dll" in "C:\Program Files\Autodesk\Navisworks Manage XXXX\".&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 01:42:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12142789#M5377</guid>
      <dc:creator>moon_pelican_cat</dc:creator>
      <dc:date>2023-08-02T01:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12143138#M5378</link>
      <description>I guess the issue is Newtonsoft.json.dll comes bundled with Navisworks - Navisworks uses it. It is placed in the root folder. You should be able to use that file if you can use the version provided by Autodesk that is.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Aug 2023 06:00:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12143138#M5378</guid>
      <dc:creator>ulski1</dc:creator>
      <dc:date>2023-08-02T06:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12234048#M5379</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;I'm creating a plugin for Navisworks Manage 2024 and getting same error at call of my functionality leads to crashing issue of Naviswork Manange 2024.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aishwarya_karande_0-1694507324457.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1265071i92026CABF29C11BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aishwarya_karande_0-1694507324457.png" alt="aishwarya_karande_0-1694507324457.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Tried to place my project dependencies at "C:\Program Files\Autodesk\Navisworks\Manage XXXX\Dependencies" as well as at "C:\Program Files\Autodesk\Navisworks Manage XXXX\" path but both ways are not working.&lt;BR /&gt;Kindly help or guide me to solve this problem.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 08:30:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12234048#M5379</guid>
      <dc:creator>aishwarya_karande</dc:creator>
      <dc:date>2023-09-12T08:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Navisworks.Api.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12417693#M5380</link>
      <description>&lt;P&gt;&amp;nbsp;I am getting same error as I already put&amp;nbsp;&lt;SPAN&gt;Newtonsoft.Json.dll" in "C:\Program Files\Autodesk\Navisworks Manage XXXX\".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 09:58:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/autodesk-navisworks-api-pdb-not-loaded/m-p/12417693#M5380</guid>
      <dc:creator>swarali_kulkarni4KMYK</dc:creator>
      <dc:date>2023-12-04T09:58:21Z</dc:date>
    </item>
  </channel>
</rss>

