<?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: Ribbon creation in revit 2014 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4841891#M77803</link>
    <description>&lt;P&gt;Yeah i corrected that..&lt;/P&gt;&lt;P&gt;It still dint show.&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2014 17:54:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-26T17:54:51Z</dc:date>
    <item>
      <title>Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4774769#M77800</link>
      <description>&lt;P&gt;These are the code lines in vb c#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.Diagnostics;&lt;BR /&gt;using System.IO;&lt;BR /&gt;using System.Windows.Media.Imaging;&lt;BR /&gt;using Autodesk.Revit.ApplicationServices;&lt;BR /&gt;using Autodesk.Revit.Attributes;&lt;BR /&gt;using Autodesk.Revit.DB;&lt;BR /&gt;using Autodesk.Revit.UI;&lt;BR /&gt;using System.Xaml;&lt;BR /&gt;using Autodesk.Revit.Creation;&lt;BR /&gt;using Autodesk.Revit.UI.Events;&lt;/P&gt;&lt;P&gt;namespace Ribbon&lt;BR /&gt;{&lt;BR /&gt;[Regeneration(RegenerationOption.Manual)]&lt;BR /&gt;class CsAddPanel : Autodesk.Revit.UI.IExternalApplication&lt;BR /&gt;{&lt;BR /&gt;public Result OnStartup(UIControlledApplication application)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;String tabName = "This Tab Name";&lt;BR /&gt;application.CreateRibbonTab(tabName);&lt;/P&gt;&lt;P&gt;//create two push buttons&lt;BR /&gt;PushButtonData button1 = new PushButtonData("Button1", "My Button #1",&lt;BR /&gt;@"C:\All Elements.dll", "All_Elements.AllElements");&lt;BR /&gt;PushButtonData button2 = new PushButtonData("Button2", "My Button #2",&lt;BR /&gt;@"C:\MaterialQuantities.dll", "MaterialQuantities.Command");&lt;/P&gt;&lt;P&gt;RibbonPanel m_projectPanel = application.CreateRibbonPanel(tabName,"This Panel Name");&lt;/P&gt;&lt;P&gt;List&amp;lt;RibbonItem&amp;gt; projectButtons = new List&amp;lt;RibbonItem&amp;gt;();&lt;BR /&gt;projectButtons.AddRange(m_projectPanel.AddStackedItems(button1, button2));&lt;/P&gt;&lt;P&gt;return Result.Succeeded;&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;public Result OnShutdown(UIControlledApplication application)&lt;BR /&gt;{&lt;BR /&gt;return Result.Succeeded;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the adding manifest file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;RevitAddIns&amp;gt;&lt;BR /&gt;&amp;lt;!-- 1_Ribbon --&amp;gt;&lt;BR /&gt;&amp;lt;AddIn Type="Application"&amp;gt;&lt;BR /&gt;&amp;lt;Name&amp;gt;UI Labs Ribbon&amp;lt;/Name&amp;gt;&lt;BR /&gt;&amp;lt;FullClassName&amp;gt;Ribbon2.AddPanel&amp;lt;/FullClassName&amp;gt;&lt;BR /&gt;&amp;lt;Assembly&amp;gt;C:\Users\Autodesk\Documents\Visual Studio 2010\Projects\Ribbon2\Ribbon2\bin\Debug\Ribbon2.dll&amp;lt;/Assembly&amp;gt;&lt;BR /&gt;&amp;lt;AddInId&amp;gt;7851F984-76C1-437E-BF66-645FEE13A873&amp;lt;/AddInId&amp;gt;&lt;BR /&gt;&amp;lt;VendorId&amp;gt;ADNP&amp;lt;/VendorId&amp;gt;&lt;BR /&gt;&amp;lt;VendorDescription&amp;gt;Autodesk, Inc. &lt;A target="_blank" href="https://forums.autodesk.com/"&gt;www.autodesk.com&amp;lt;/VendorDescription&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;lt;/AddIn&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there r no errors..&lt;/P&gt;&lt;P&gt;its showing two warnings...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "RevitAPI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning 2 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "RevitAPIUI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ribon doesn't get executed...&lt;/P&gt;&lt;P&gt;What is my mistake n how to rectify it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me...&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2014 22:54:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4774769#M77800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-25T22:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4774925#M77801</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Your code is correct and to buttons should appear at the Ribbon.&lt;BR /&gt;&lt;BR /&gt;The warnings mean that your project platform is setup as AnyCPU but RevitAPI.dll and RevitUIAPI assemblies are x64 assemblies.&lt;BR /&gt;&lt;BR /&gt;Make sure your project target is AnyCPU: Go to the project Properties and on the Build tab check that the Platform target is AnyCPU&lt;BR /&gt;&lt;BR /&gt;Anyway, you will see these warnings though. Do not pay attention to them.&lt;BR /&gt;&lt;BR /&gt;Make sure you copied your .addin manifest file to the C:\Users\&amp;lt;your user name&amp;gt;\AppData\Roaming\Autodesk\Revit\AddIns\2014&lt;BR /&gt;&lt;BR /&gt;If the buttons still not appears on the ribbon, set the breakpoint to any line on the OnStartup method and try to debug the code step by step.&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Jan 2014 06:10:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4774925#M77801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-26T06:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4775045#M77802</link>
      <description>&lt;P&gt;Your external application class is called "&lt;SPAN&gt;Ribbon.&lt;/SPAN&gt;&lt;SPAN&gt;CsAddPanel"&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;Yet in your Addin manifest file you call up '&lt;SPAN&gt;Ribbon2.AddPanel'&lt;/SPAN&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 suspect this may be causing your problem.&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;&amp;nbsp;&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;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2014 09:58:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4775045#M77802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-26T09:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4841891#M77803</link>
      <description>&lt;P&gt;Yeah i corrected that..&lt;/P&gt;&lt;P&gt;It still dint show.&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 17:54:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4841891#M77803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-26T17:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4841903#M77804</link>
      <description>I have changed in project properties and also copied adin manifest file..&lt;BR /&gt;&lt;BR /&gt;ribbon dint show up.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Feb 2014 17:57:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4841903#M77804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-26T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4843269#M77805</link>
      <description>Have you added a eventhandler for DocumentOpened ?</description>
      <pubDate>Thu, 27 Feb 2014 07:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/4843269#M77805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-27T07:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon creation in revit 2014</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/5337033#M77806</link>
      <description>&lt;P&gt;how to pass parameter to&amp;nbsp;&lt;SPAN&gt;MaterialQuantities.Command ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:19:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-creation-in-revit-2014/m-p/5337033#M77806</guid>
      <dc:creator>farisarch</dc:creator>
      <dc:date>2014-10-14T18:19:16Z</dc:date>
    </item>
  </channel>
</rss>

