<?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: Novice Question | Failed to initialize the add-in in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820243#M42051</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Dear Connor,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would suggest taking a look at the Revit API getting started material:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are in a hurry and want to skip everything else, you can just check out the hello world walkthroughs in the developer guide:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://help.autodesk.com/view/RVT/2020/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html" target="_blank"&gt;http://help.autodesk.com/view/RVT/2020/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 06:32:17 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2019-05-29T06:32:17Z</dc:date>
    <item>
      <title>Novice Question | Failed to initialize the add-in</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8818073#M42048</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wanting to utilise the PurgeUnused macro from Matt Taylor:&lt;BR /&gt;&lt;A href="https://gitlab.com/MattTaylor/RevitPurgeUnused" target="_blank" rel="noopener"&gt;https://gitlab.com/MattTaylor/RevitPurgeUnused&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using My First Revit Plug-In, I am trying to get a feel of how to run it:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Download files from GitHub&lt;/P&gt;&lt;P&gt;2. Extract and place at "C:\ProgramData\Autodesk\Revit\Addins\2019"&lt;/P&gt;&lt;P&gt;3. Open PurgeUnused.sln in Visual Studio&lt;/P&gt;&lt;P&gt;4. Go to PurgeUnused properties and changed Target Framework to .NET Framework 4.7&lt;/P&gt;&lt;P&gt;5. Change Copy Local to False for RevitAPI.dll and RevitAPIUI.dll&lt;/P&gt;&lt;P&gt;6. Build Solution&lt;/P&gt;&lt;P&gt;7. Place PurgeUnused.addin file in "C:\ProgramData\Autodesk\Revit\Addins\2019"&lt;/P&gt;&lt;P&gt;8. Open Revit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I receive the error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Failed to initialize the add-in "Purged Unused" because the assembly "PurgeUnused.dll" does not exist."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/failed-to-initialize-add-in-cannot-be-found-in-assembly/m-p/8377407#M34461" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/failed-to-initialize-add-in-cannot-be-found-in-assembly/m-p/8377407#M34461&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but my file doesn't seem to be disabled under the Properties &amp;gt; General tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 11:50:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8818073#M42048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-28T11:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Novice Question | Failed to initialize the add-in</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8819294#M42049</link>
      <description>&lt;P&gt;Dear&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are missing a step, you have to compile you solution in Visual studio Build&amp;gt;Build solution, and then go to your solution folder Bin&amp;gt;Debug&amp;gt;&lt;EM&gt;urgeUnused.dll, copy that file together&amp;nbsp;with the&amp;nbsp;&lt;SPAN&gt;PurgeUnused.addin file in "C:\ProgramData\Autodesk\Revit\Addins\2019" and that should solve it.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 18:08:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8819294#M42049</guid>
      <dc:creator>novesvalentin</dc:creator>
      <dc:date>2019-05-28T18:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Novice Question | Failed to initialize the add-in</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820237#M42050</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4505691"&gt;@novesvalentin&lt;/a&gt;&amp;nbsp; thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 06:22:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820237#M42050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-29T06:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Novice Question | Failed to initialize the add-in</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820243#M42051</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Connor,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would suggest taking a look at the Revit API getting started material:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are in a hurry and want to skip everything else, you can just check out the hello world walkthroughs in the developer guide:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://help.autodesk.com/view/RVT/2020/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html" target="_blank"&gt;http://help.autodesk.com/view/RVT/2020/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 06:32:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820243#M42051</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-05-29T06:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Novice Question | Failed to initialize the add-in</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820985#M42052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I stated&lt;EM&gt; Novice Question&lt;/EM&gt; in my post out of the hope that you would not waste any of your valuable time on it.&lt;/P&gt;&lt;P&gt;I have a lot of respect for you - not that I can comprehend the complexity of what you do, but rather that I have seen and appreciate your extensive blog resources and involvement within the Revit API community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen people complaining quite aggressively on the API forums and each time I've seen you respond very eloquently - its highly admirable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Just to elaborate from a Revit API beginner's point of view:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I had to purge a bunch of families (including their nesteds) before adding them to our library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I knew that a manual approach would be tedious. A quick Google took me to your blog post of Matt Taylor's code. His Read Me didn't help me and I was unable to decypher what it actually did. I had to try to guess how long it would take to automate the task, or if I would have to do it manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is difficult to comprehend how long it would take to get the task at hand done by doing a bottom-up approach of learning all fundamentals first&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;so I attempted a top-down approach of trying to run it first, seeing if it could work for what I need, and then trying to understand it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the My First Plug-In tutorial which to my knowledge doesn't explicitly state that you should move the .dll file from Debug - I suppose your recommendations hence. Perhaps the sources should be consolidated to one resource: My First Plug-In could be integrated into the Revit Developers API Guide, so that one can work through them in chronological order?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After getting the plug-in to work I have realised that a fair amount of work would still need to be done to shape it the way I want, and ended up doing it manually for now. But I've dipped my toes and am keen to get wet. Also, hopefully when the next novice doesn't go through the Developers Guide and has the same issue, they see the solution posted by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4505691"&gt;@novesvalentin&lt;/a&gt;. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 12:37:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8820985#M42052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-29T12:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Novice Question | Failed to initialize the add-in</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8821140#M42053</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Connor,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your appreciation and glad to hear that you are keen to dig deeper into the Revit API sometime in the future.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry to hear it turned out to be too much work this time around.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It might be easier to get started using either Revit macros or Dynamo rather than building and installing full-fledged add-ins.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Even creating an add-in is a very small and simple task if you are not confused by the nomenclature.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As mentioned above, the hello world walkthroughs in the developer guide show you the minimum required steps with a minimum of fuss:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://help.autodesk.com/view/RVT/2020/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html" target="_blank"&gt;http://help.autodesk.com/view/RVT/2020/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Getting_Started_Walkthroughs_html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 13:21:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/novice-question-failed-to-initialize-the-add-in/m-p/8821140#M42053</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-05-29T13:21:59Z</dc:date>
    </item>
  </channel>
</rss>

