Showing posts with label 2010. Show all posts
Showing posts with label 2010. Show all posts

Friday, October 29, 2010

Visual C# 2010 Express

Hi all,


Normally I develop my code with Visual Basic 2010 Express. But today, I want to learn something about C#. So I downloaded Visual C# 2010 Express, installed it and open it.


I tried to do it the same as in VB however no luck. After some time I found out what I had to do. And here it is:


On page 21 of the "Revit 2011 API Developer Guide.pdf" you can find the first source code for HelloWorld. I did the steps, copied the code, build the program, created the right .addin file and so on. But still it did not work. The button was there, but when I hit it nothing happens...



Just check the following:
When you open the Properties of your project, the Application tab shows what Target framework will be used. In my situtation .NET Framework 4.0 had been set.

I changed it to .NET Framework 3.5 and now this simple extension works. Finally

Tuesday, June 2, 2009

Add-In Manager for Autodesk Revit 2010



Within the SDK of Revit you can find a very handy tool called the Add-In Manager. With this tool you can manage the Add-Ins easily without manually changing the Revit.ini file.



  1. Install the SDK (see C:\Autodesk\RST_201_English_Win_32bit\support\SDK or the CD)

  2. Close Revit

  3. Start the Setup (for path see the image above)

  4. Use the default settings

  5. After installation, start Revit and open a Project

  6. Go to Add-Ins Ribbon menu, press the External Tools and see that the Add-In Manager is installed properly