Message 1 of 5
Revit 2010 API "Add Hello World Ribbon Panel"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anyone had trouble with the "2.3 Walkthrough: Add Hello World Ribbon Panel" working? I am trying to do it with MS Visual C# Express Edition. I had no trouble with the Hello World program. The errors I am getting with this one are:
Error 1 Cannot implicitly convert type 'Autodesk.Revit.PushButton' to 'Autodesk.Revit.PulldownButton' CsAddPanel.cs 17 41 AddPanel
Error 2 The type or namespace name 'BitmapImage' could not be found (are you missing a using directive or an assembly reference?) CsAddPanel.cs 22 13 AddPanel
Error 3 The type or namespace name 'BitmapImage' could not be found (are you missing a using directive or an assembly reference?) CsAddPanel.cs 22 42 AddPanel
In the walkthrough sample within the PDF, it shows "BitmapImage" as being recognized by the compiler. It's not in the Express Edition. My guess is I am missing a reference?
I have as references RevitAPI, PresentationCore, System.Windows.Forms and WindowsBase. What am I missing here?
Error 1 Cannot implicitly convert type 'Autodesk.Revit.PushButton' to 'Autodesk.Revit.PulldownButton' CsAddPanel.cs 17 41 AddPanel
Error 2 The type or namespace name 'BitmapImage' could not be found (are you missing a using directive or an assembly reference?) CsAddPanel.cs 22 13 AddPanel
Error 3 The type or namespace name 'BitmapImage' could not be found (are you missing a using directive or an assembly reference?) CsAddPanel.cs 22 42 AddPanel
In the walkthrough sample within the PDF, it shows "BitmapImage" as being recognized by the compiler. It's not in the Express Edition. My guess is I am missing a reference?
I have as references RevitAPI, PresentationCore, System.Windows.Forms and WindowsBase. What am I missing here?