REvit API beginner need advice

REvit API beginner need advice

Anonymous
Not applicable
848 Views
3 Replies
Message 1 of 4

REvit API beginner need advice

Anonymous
Not applicable

Hello,

 

I recently started working for a firm that uses revit and CAD religiously. I know how to use the software adequately, however I realize the potential macros and scripts can have on the efficiency of some of the day to day tasks. I am here, obvioulsy, because I want to learn how to write these macros (mainly focus in Revit for the time being). I know how to start writing a macro in revit, I dont have my work computer in front of me but I know it goes something like: manage tab, macro manager, then create a module, then create a macro, and bingo. You can start coding. I know a bit of java and c++ so i figured I would try coding in C# instead of VB . net because I have had not experience with this. However, I cant find a guide anywhere to help me start to code. There are a ton of classes and methods that I am not familiar with and i cant find a list of them online anywhere could someone help me with this. Also, is there maybe a book that I can read to help me learn about the Revit API? I started looking at a page on autodesk here:

 

http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=16777469

 

however I dont want to make a plugin yet (i dont think).  i just want to make a simple macro to automate some tasks.

Also if you could explain the difference between a plugin and a macro taht would be great.

 

Thanks

0 Likes
849 Views
3 Replies
Replies (3)
Message 2 of 4

rosalesduquej
Alumni
Alumni

Hi jwhatdas,

 

Welcome to the Revit API Community, Here I'm posting a link that explains very well the difference between both. 

https://boostyourbim.wordpress.com/2012/12/05/macros-vs-add-ins-whats-the-difference/ 

 

If you need anything else please let us know. Good luck with your Revit API development start.

 

Cheers,



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
0 Likes
Message 3 of 4

Anonymous
Not applicable

Hello!

 

Welcome to the community!

 

If you have some programming background that is an advantage. Just start out small, "I want this to do this" and then apply that to all repetitive tasks you come upon in your work. There are plenty of documentation out there to get you started, such as boostyourbim and thebuildingcoder mostly in C#.  If you need help just post your questions in this forum. I wouldn't mind helping you as well, so if you don't find your answers here you could message me.

 

Good luck!

 

/Martin

0 Likes
Message 4 of 4

Mustafa.Salaheldin
Collaborator
Collaborator

Welcome. If you really want to get a huge amount of knoledge you have to consider "Jeremy Tammik" Revit API blog as a reference:

http://thebuildingcoder.typepad.com/blog/


¯\_(ツ)_/¯
Let it work like a charm.

Mustafa Salaheldin


EESignature




Digital Integration Manager, DuPod

Facebook | Twitter | LinkedIn

0 Likes