<?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: CoordinationModelDB.pdb not loaded in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9663833#M32806</link>
    <description>&lt;P&gt;Welcome to the Revit API!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never heard of this problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be doing something fundamentally wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get started with the Revit API, I suggest that you first of all take a look at the getting started material and work through the step-by-step instructions provided by the DevTV and My First Revit Plugin video tutorials:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will explain all you need, including the answer to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a quick start, you can also check out the hello world examples in the developer guide:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html" target="_blank"&gt;http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 10:51:51 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2020-07-30T10:51:51Z</dc:date>
    <item>
      <title>CoordinationModelDB.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9662073#M32805</link>
      <description>&lt;P&gt;Hey !&lt;BR /&gt;A'm new in Revit API and in C#.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to&amp;nbsp; open Revit Model from MS Visual Studio :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;UIApplication uiapp = commandData.Application;
UIDocument uidoc = uiapp.OpenAndActivateDocument(@"C:\Users\PSPOD\Desktop\models\PM1.rvt");
Autodesk.Revit.ApplicationServices.Application app = uiapp.Application;
Document doc = uidoc.Document;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;When i launch it , i got an Exception:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;System.NullReferenceException" in CoordinationModelDB.dll&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;How to fix it ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 13:40:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9662073#M32805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-29T13:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinationModelDB.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9663833#M32806</link>
      <description>&lt;P&gt;Welcome to the Revit API!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never heard of this problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be doing something fundamentally wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get started with the Revit API, I suggest that you first of all take a look at the getting started material and work through the step-by-step instructions provided by the DevTV and My First Revit Plugin video tutorials:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will explain all you need, including the answer to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a quick start, you can also check out the hello world examples in the developer guide:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html" target="_blank"&gt;http://help.autodesk.com/view/RVT/2018/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 10:51:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9663833#M32806</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-07-30T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinationModelDB.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9671872#M32807</link>
      <description>&lt;P&gt;Great thak you !&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 12:21:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9671872#M32807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-04T12:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinationModelDB.pdb not loaded</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9847398#M32808</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just had the same error. For a unknown reason, Visual Studio didn't load all modules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are a curious being like myself, you can learn more the problem about this here :&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/24761938/breakpoints-not-hit-no-symbols-loaded" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/24761938/breakpoints-not-hit-no-symbols-loaded&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and then here :&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/12891167/visual-studio-is-not-loading-modules-when-attaching-to-process" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/12891167/visual-studio-is-not-loading-modules-when-attaching-to-process&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just want to fix it - that's pretty fine too - you need to follow the steps to reload them :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Finally I found the answer in&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://stackoverflow.com/questions/12891167/visual-studio-is-not-loading-modules-when-attaching-to-process" target="_blank" rel="noopener"&gt;this&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;post. I took a look into the loaded modules (Debug-&amp;gt;Windows-&amp;gt;Modules while having assembly attached to process) and noticed that my actual assembly wasn´t in the list. The code I wanted to debug is built with .NET 3.5 but modules have only been loaded for .NET 4.0. Usually this might be detected automatically as far as I am concerned but however this time automatic detection did not work for some weird reason so I changed selected code type from managed (v4.0) to managed (v2.0) and now it works. Hope this won´t occur when I have to debug on .NET 4.0 later again..." by&amp;nbsp;HimBromBeere&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or in detail :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://stackoverflow.com/questions/2155930/how-do-i-remedy-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been?rq=1" target="_blank"&gt;https://stackoverflow.com/questions/2155930/how-do-i-remedy-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been?rq=1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope that this will be helpful,&lt;/P&gt;&lt;P&gt;Have a great day !&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 09:52:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/coordinationmodeldb-pdb-not-loaded/m-p/9847398#M32808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-05T09:52:03Z</dc:date>
    </item>
  </channel>
</rss>

