<?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 REVIT 2020 API PLUGIN in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10506276#M24521</link>
    <description>&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone can help me with that?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I made 2 codes and they have no errors, but when I compile it it doesn't show up in the revit...

Could you let me know how to get him to show up? It's all in the folders, the Addin, everything ok. But it doesn't appear

Here is the example code:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Threading.Tasks;&lt;BR /&gt;using Autodesk.Revit.UI;&lt;BR /&gt;using System.Reflection;&lt;BR /&gt;using System.Windows.Media.Imaging;&lt;BR /&gt;using cbb;&lt;/P&gt;&lt;P&gt;namespace cbb&lt;BR /&gt;{&lt;BR /&gt;public class Main : IExternalApplication&lt;BR /&gt;{&lt;BR /&gt;//Será chamado quando o revit iniciar&lt;BR /&gt;#region external application public methods&lt;BR /&gt;public Result OnStartup(UIControlledApplication application)&lt;BR /&gt;{&lt;BR /&gt;//nome da aba principal dos plugins&lt;BR /&gt;String tabName = "Circle's Bim Blog";&lt;/P&gt;&lt;P&gt;//nome do painel hospedado na guia da faixa de opções&lt;BR /&gt;String panelAnnotationName = "Annotation Commands";&lt;/P&gt;&lt;P&gt;//criar guia no revit UI&lt;BR /&gt;application.CreateRibbonTab(tabName);&lt;BR /&gt;//nome do painel hospedado na guia da faixa de opções&lt;BR /&gt;var panelAnnotation = application.CreateRibbonPanel(tabName, panelAnnotationName);&lt;/P&gt;&lt;P&gt;//criar botões e preenchê-los com informações&lt;BR /&gt;var TagWallLayerBtnData = new PushButtonData("TagWallLayerBtnData", "Tag Wall\nLayers", Assembly.GetExecutingAssembly().Location, "cbb.TagWallLayersCommand")&lt;BR /&gt;{&lt;BR /&gt;ToolTipImage = new BitmapImage(new Uri(@"C:\Users\Jaqueline Andrade\source\repos\cbb\res\tooltip_img_320x320.png")),&lt;BR /&gt;ToolTip = " Essa é uma amostra, trocar depois"&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;var TagWallLayerBtn = panelAnnotation.AddItem(TagWallLayerBtnData) as PushButton;&lt;BR /&gt;TagWallLayerBtn.LargeImage = new BitmapImage(new Uri(@"C:\Users\Jaqueline Andrade\source\repos\cbb\res\icon_img_32x32.png"));&lt;/P&gt;&lt;P&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;BR /&gt;//será chamado quando o revit desligar&lt;BR /&gt;public Result OnShutdown(UIControlledApplication application)&lt;BR /&gt;{&lt;BR /&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;BR /&gt;#endregion&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;Also when I try to compile this code, the error is showing&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaquelineribeiro015_0-1627583761014.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/946616i6C228B8AE186DA94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaquelineribeiro015_0-1627583761014.png" alt="jaquelineribeiro015_0-1627583761014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Someone can help me to fix that?&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 18:36:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-29T18:36:59Z</dc:date>
    <item>
      <title>REVIT 2020 API PLUGIN</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10506276#M24521</link>
      <description>&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone can help me with that?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I made 2 codes and they have no errors, but when I compile it it doesn't show up in the revit...

Could you let me know how to get him to show up? It's all in the folders, the Addin, everything ok. But it doesn't appear

Here is the example code:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Threading.Tasks;&lt;BR /&gt;using Autodesk.Revit.UI;&lt;BR /&gt;using System.Reflection;&lt;BR /&gt;using System.Windows.Media.Imaging;&lt;BR /&gt;using cbb;&lt;/P&gt;&lt;P&gt;namespace cbb&lt;BR /&gt;{&lt;BR /&gt;public class Main : IExternalApplication&lt;BR /&gt;{&lt;BR /&gt;//Será chamado quando o revit iniciar&lt;BR /&gt;#region external application public methods&lt;BR /&gt;public Result OnStartup(UIControlledApplication application)&lt;BR /&gt;{&lt;BR /&gt;//nome da aba principal dos plugins&lt;BR /&gt;String tabName = "Circle's Bim Blog";&lt;/P&gt;&lt;P&gt;//nome do painel hospedado na guia da faixa de opções&lt;BR /&gt;String panelAnnotationName = "Annotation Commands";&lt;/P&gt;&lt;P&gt;//criar guia no revit UI&lt;BR /&gt;application.CreateRibbonTab(tabName);&lt;BR /&gt;//nome do painel hospedado na guia da faixa de opções&lt;BR /&gt;var panelAnnotation = application.CreateRibbonPanel(tabName, panelAnnotationName);&lt;/P&gt;&lt;P&gt;//criar botões e preenchê-los com informações&lt;BR /&gt;var TagWallLayerBtnData = new PushButtonData("TagWallLayerBtnData", "Tag Wall\nLayers", Assembly.GetExecutingAssembly().Location, "cbb.TagWallLayersCommand")&lt;BR /&gt;{&lt;BR /&gt;ToolTipImage = new BitmapImage(new Uri(@"C:\Users\Jaqueline Andrade\source\repos\cbb\res\tooltip_img_320x320.png")),&lt;BR /&gt;ToolTip = " Essa é uma amostra, trocar depois"&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;var TagWallLayerBtn = panelAnnotation.AddItem(TagWallLayerBtnData) as PushButton;&lt;BR /&gt;TagWallLayerBtn.LargeImage = new BitmapImage(new Uri(@"C:\Users\Jaqueline Andrade\source\repos\cbb\res\icon_img_32x32.png"));&lt;/P&gt;&lt;P&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;BR /&gt;//será chamado quando o revit desligar&lt;BR /&gt;public Result OnShutdown(UIControlledApplication application)&lt;BR /&gt;{&lt;BR /&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;BR /&gt;#endregion&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;Also when I try to compile this code, the error is showing&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaquelineribeiro015_0-1627583761014.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/946616i6C228B8AE186DA94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaquelineribeiro015_0-1627583761014.png" alt="jaquelineribeiro015_0-1627583761014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Someone can help me to fix that?&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 18:36:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10506276#M24521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-29T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: REVIT 2020 API PLUGIN</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10519487#M24522</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your add-in is not added to Revit because you are not compilating the DLL.&amp;nbsp;Did you use a class library to create your add-in?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After fixing this error, you could check&amp;nbsp; the following:&lt;/P&gt;&lt;P&gt;1. If the directory where you copy your add-in files is correct.&lt;/P&gt;&lt;P&gt;2. if your manifest file is calling correctly wrote.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 11:28:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10519487#M24522</guid>
      <dc:creator>franciscopossetto</dc:creator>
      <dc:date>2021-08-04T11:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: REVIT 2020 API PLUGIN</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10563439#M24523</link>
      <description>&lt;P&gt;I think the main problem is that you call Main the class, try call it other way, i dont quite understand portuguese so hopefully you can translate the error that you get from visual studio&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 18:57:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10563439#M24523</guid>
      <dc:creator>mdfac2000</dc:creator>
      <dc:date>2021-08-21T18:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: REVIT 2020 API PLUGIN</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10566642#M24524</link>
      <description>&lt;P&gt;Hello, you probably create a project wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the look, you create a project Console Application that needs a &lt;STRONG&gt;static void Main(string[] args)&lt;/STRONG&gt; to compile and work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should create a project with &lt;STRONG&gt;Library Class (.Net Framework)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ricaun_0-1629727984883.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/956044iF7B1ED6FF1D1B19A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ricaun_0-1629727984883.png" alt="ricaun_0-1629727984883.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or in Portuguese &lt;STRONG&gt;Biblioteca de Classes (.Net Framework) &lt;/STRONG&gt;to create a &lt;STRONG&gt;.dll&lt;/STRONG&gt; file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See Yaa&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 14:14:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-2020-api-plugin/m-p/10566642#M24524</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2021-08-23T14:14:07Z</dc:date>
    </item>
  </channel>
</rss>

