PDA

View Full Version : What language was used to write revit?



ckcmike
2006-08-28, 12:51 PM
What language was used to write Revit? VB or C#? I just start to learn how to write Revit API, and I might change some system family in Revit if any chance. I have a little computer programing background, but only in high school level, which is totally out of date now. So I know that I need to learn another computer programing language, but before I start to learn any, I would like to know what language was used to create Revit, so hopefully I would able to edit some system family in Revit by the time I am more familiar to the programing language. Please help!! Thank in advance.

jim.awe
2006-08-28, 05:28 PM
Neither. It is written in C++. That shouldn't influence what language you choose to use, however, because the internal code is not exposed directly as an API. The API is .NET-based, so you need to use C# or VB.NET. Technically, you could also use Managed C++, but I think C# would be a much better choice.

JimA

Danny Polkinhorn
2006-08-29, 03:24 AM
This is like deja-vu, all over again. ;-) Here's a previous thread (http://forums.augi.com/showthread.php?t=26675) on the subject.

By the way, you won't be able to edit system families with the API, they aren't exposed.

Hope that helps,

ckcmike
2006-08-29, 09:09 AM
Thank for your replies, they are all good. I heart the inner Revit source hasn't exposed yet, but who know they will release it one day, just like previously some people said Revit wouldn't have API in future. But now we can free download it. I always think Revit should be open source code, because tool is never work perfectly as the way you want it to be when you take it out of the box.