Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Newbie Questions from a newbie programmer about Revit API.

1 REPLY 1
Reply
Message 1 of 2
Myrtaro
336 Views, 1 Reply

Newbie Questions from a newbie programmer about Revit API.

Myrtaro
Explorer
Explorer

Hello guys, first of all, my name is Myrtaro. This is the firsty time that I post here, but I've been reading some topics.

My goal is to program a plug-in for Revit for my Master Thesis, but I'm really new with programming and it was all auto-learn, so I have some basic flaws for sure. I tried to use the "Search" button trying to find the answer to my question, but I couldn't find it, if I missed something feel free to post a link to the answer or something similar.

 

The question is quite simple. I started to wrote the code for my plug-in in C++ language, but when I was re-reading the "My First Plug-in" Guide I realized that the API only works in C#, VB.NET and "Managed C++" (which in fact I thought it was regular C++). So know I have the code in C++ and I don't know what to do, should I try to "translate" it to C#? (I have to point that I don't know anything about C#) Should I stick with the Managed C++? (I think that I understood that the code would be the same)

And in the later, how do I start to make the work in accordance with Revit? (Since the guide is written for C# and with references to VB.NET only).

 

Thank you for your answers guys.

Best regards.

 

Myrtaro.

0 Likes

Newbie Questions from a newbie programmer about Revit API.

Hello guys, first of all, my name is Myrtaro. This is the firsty time that I post here, but I've been reading some topics.

My goal is to program a plug-in for Revit for my Master Thesis, but I'm really new with programming and it was all auto-learn, so I have some basic flaws for sure. I tried to use the "Search" button trying to find the answer to my question, but I couldn't find it, if I missed something feel free to post a link to the answer or something similar.

 

The question is quite simple. I started to wrote the code for my plug-in in C++ language, but when I was re-reading the "My First Plug-in" Guide I realized that the API only works in C#, VB.NET and "Managed C++" (which in fact I thought it was regular C++). So know I have the code in C++ and I don't know what to do, should I try to "translate" it to C#? (I have to point that I don't know anything about C#) Should I stick with the Managed C++? (I think that I understood that the code would be the same)

And in the later, how do I start to make the work in accordance with Revit? (Since the guide is written for C# and with references to VB.NET only).

 

Thank you for your answers guys.

Best regards.

 

Myrtaro.

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Myrtaro

Anonymous
Not applicable

Hi,

 

C# should not be that hard to learn if you know C++.

I started out with C++ and Java and I have always found C++ is the more complex then C#. 

C++ is a low level programming language while C# and Java are high level programming languages.

High Level programming languages are far easier to learn from my experience.

 

I am sorry but I do not feel confident in giving you any advice on weither to try translating your code or not Smiley Sad 

 

using visual studio it should guide you quite a bit on weither you are doing the correct form of implementation though.

0 Likes

Hi,

 

C# should not be that hard to learn if you know C++.

I started out with C++ and Java and I have always found C++ is the more complex then C#. 

C++ is a low level programming language while C# and Java are high level programming languages.

High Level programming languages are far easier to learn from my experience.

 

I am sorry but I do not feel confident in giving you any advice on weither to try translating your code or not Smiley Sad 

 

using visual studio it should guide you quite a bit on weither you are doing the correct form of implementation though.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report