<?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: How do I make add-in using out from opened document? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-do-i-make-add-in-using-out-from-opened-document/m-p/13659915#M84048</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15687810"&gt;@XARMA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want logic that runs when Revit starts (before any file is opened), implement &lt;CODE data-start="2235" data-end="2257"&gt;IExternalApplication&lt;/CODE&gt; and use &lt;CODE data-start="2266" data-end="2277"&gt;OnStartup&lt;/CODE&gt;:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;public class MyApp : IExternalApplication
{
    public Result OnStartup(UIControlledApplication application)
    {
        // Add UI or run logic here
        return Result.Succeeded;
    }

    public Result OnShutdown(UIControlledApplication application)
    {
        return Result.Succeeded;
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Also, please take a look at the links&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Add_In_Integration_External_Application_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Add_In_Integration_External_Application_html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If this doesn't help, Could you please explain your issue in more detail?&lt;/P&gt;</description>
    <pubDate>Sun, 01 Jun 2025 11:11:57 GMT</pubDate>
    <dc:creator>naveen.kumar.t</dc:creator>
    <dc:date>2025-06-01T11:11:57Z</dc:date>
    <item>
      <title>How do I make add-in using out from opened document?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-do-i-make-add-in-using-out-from-opened-document/m-p/13655124#M1</link>
      <description>&lt;P&gt;I have saw some add-in that can be used without opening rvt file.&lt;/P&gt;&lt;P&gt;How do I make add-in using out from opened document?&lt;/P&gt;&lt;P&gt;I face some error message, If I execute my dll file eventhough any simple codes it is.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Syetem.NullReferenceException: Object reference not set to an instance of an object at A.Command.Execute(ExternalCommandData commandData, String&amp;amp; message, ElementSet elements) at ...&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 01:30:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-do-i-make-add-in-using-out-from-opened-document/m-p/13655124#M1</guid>
      <dc:creator>XARMA</dc:creator>
      <dc:date>2025-05-29T01:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make add-in using out from opened document?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-do-i-make-add-in-using-out-from-opened-document/m-p/13659915#M84048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15687810"&gt;@XARMA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want logic that runs when Revit starts (before any file is opened), implement &lt;CODE data-start="2235" data-end="2257"&gt;IExternalApplication&lt;/CODE&gt; and use &lt;CODE data-start="2266" data-end="2277"&gt;OnStartup&lt;/CODE&gt;:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;public class MyApp : IExternalApplication
{
    public Result OnStartup(UIControlledApplication application)
    {
        // Add UI or run logic here
        return Result.Succeeded;
    }

    public Result OnShutdown(UIControlledApplication application)
    {
        return Result.Succeeded;
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Also, please take a look at the links&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Add_In_Integration_External_Application_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_Add_In_Integration_External_Application_html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If this doesn't help, Could you please explain your issue in more detail?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jun 2025 11:11:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-do-i-make-add-in-using-out-from-opened-document/m-p/13659915#M84048</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2025-06-01T11:11:57Z</dc:date>
    </item>
  </channel>
</rss>

