Quick Links - Also see the menu above and more choices on the right side of the blog (too much, but all good stuff)

\/ ...and now BIMbuilder.com Blog Posts... \/

Monday, October 18, 2010

The Building Coder: C++ #Revit Add-In


Want to get into some really advanced Revit fun?

Source: http://thebuildingcoder.typepad.com/blog/2010/10/c-revit-add-in.html 

To my great surprise, I recently discovered that I have never yet published anything at all on implementing a Revit add-in in C++.

That is way overdue, so here goes, a step by step description of setting up a C++ project to implement a Revit 2011 external command add-in.

It is very similar to setting up a C# or VB Revit add-in project, similar to the steps described for a C# or VB Revit add-in for Revit 2009 way back in September 2008, and more up-to-date in the Revit DevTV recordings, except we specify C++ instead of C# or VB.

Another detailed step by step description for C# is provided in the Revit SDK developer guide "Revit 2011 API Developer Guide.pdf", in the Chapter 2.2 Walkthrough: Hello World.

So here we go doing the same for C++:

1. In Visual Studio 2008, select File > New > Project... > Visual C++ > Class Library. Define the project location and name, e.g. 'HelloRevitCpp' and click OK:



This generates a number of files:


Read the rest: C++ Revit Add-In

0 comments:

  © Blogger template ProBlogger Template by Ourblogtemplates.com 2008

Back to TOP  

[Valid Atom 1.0]