Google Analytics (Hidden)

Tuesday, April 5, 2011

My first API, Part Two

In this part we’re going on a first exploration of Visual Studio 2008. Mind you: this is not a VS course. I will only highlight the parts I have used so far, probably disregarding a lot of extremely valuable functionality. And perhaps in a complete non-logical way. But hey, this is about Revit. Not VS. Go buy a book…

Visual Studio 2008
So, halfway through the day, I get to actually start up VS and go to work. Since Microsoft started deploying VS 2010, the 2008 version can no longer be downloaded from their site (or at least, I couldn’t find it). Luckily for me, and anyone else reading this and wanting to start: I posted the installer on and will also be posting it on my own blog at
After installing it, you get the screen as shown in the picture below.

Visual basic startup screen

You can start by opening a new project through the Recent Projects subscreen, in which case the following screen will open.

Start a new project

There are some different templates, which I haven’t all figured out quite yet. If memory serves me well, these are the different types:
  • Windows Form Application: This is a standalone windows application with no interaction to other running programs.
  • Class Library: This is the one you will mostly need, a plugin inside a host software.
  • WPF Application: I have no clue as to what this does… Any comments from the API gurus out there?
  • WPF Browser Application: Same here…
  • Console Application: these are pieces of software that run automated without any user input. These are those MS-DOS-boxes that float around from time to time when installing software. Usually they perform tasks like extracting files to a certain folder, or cleanup installation files after Setup.
After starting a Class Library Template you will see this screen:

Class Library Template startup screen

First off: what in the world does this all mean?
The big screen is the coding screen, here you create the actual program code that makes your Addin do stuff. On the right side there is a palette which contains all sorts of project data. In Revit terms, this would be the project browser. Let’s focus on that one in the next post...


  1. Thanks for posting this useful content, Good to know about new things here, Let me share this, . LINUX training in pune


  2. The blog or and best that is extremely useful to keep I can share the ideas
    of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
    tanki online | 2048 game|

  3. Online Assignment Expert has recently deployed its team of Nursing assignment help experts who provide academic assistance to the students pursuing programming courses. We have been guiding and consulting students across Australia so that they can overcome their academic problems. Moreover, we are offering our online assignment help service exclusively at a discounted rate. Students can grab this opportunity and enjoy professional guidance at reasonable prices! Also, with our systemic  assignment help professionals, you can easily submit high-quality assignments, and score excellent grades in these writing tasks as well.

  4. คาสิโนออนไลน์ที่น่าเชื่อถือและมีความเป็นมืออาชีพที่สุดในตอนนี้
    โปรโมชั่นGclub ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
    เพียงแค่คุณสมัคร สล็อตออนไลน์ กับทางทีมงานของเราเพียงเท่านั้น
    สมัครสล็อตออนไลน์ >>> Goldenslot
    สนใจร่วมสนุกกับ คาสิโนออนไลน์ คลิ๊กได้เลย
    มีทั้งคาสิโนออนไลน์ หวยออนไลน์ ฟุตบอลออนไลน์ สล็อตออนไลน์ และอื่นๆอีกมากมาย

  5. Hello, it is a great write-up that, I am sure, will add a lot of value to the students and their assignment writing process. Laden with well researched content, the students will get a lot of things to learn. And the students who are looking for a reliable and cheap assignment help Australia service, My Assignment Services is the destination for them. I am academic expert having more than 10 years of industry experience and 5 years of assignment expert. I know what it takes to write an assignment that has the ability to fetch high grades. Our experts know how to make a boring assignment question unique and original. This is why we are the number one assignment provider for all university going students.