For those of you taking your fist steps with the Revit API, here is a short video showing all the basics of how to create the simplest macro
For those of you taking your fist steps with the Revit API, here is a short video showing all the basics of how to create the simplest macro
[…] UPDATE: I’ve posted a new video showing a simpler example of how to create a macro at https://boostyourbim.wordpress.com/2013/05/01/create-a-simple-macro-in-revit-2014/ […]
Hi harry ,I just tried to implement room renumber that has been explained in DevTV http://download.autodesk.com/media/adn/DevTV_Revit_2012_NET_English-Part2/Revit%20DevTV%20-%20part%202.html
after i finished the code in macro and build the whole code successfuly when i select a room i got error like in the picture in the link.
i attached also in the link shot of code.
i want help to treat this error.
Thanks in advance.
I’m flattered that when you have a question about an Autodesk tutorial you come to Boost Your BIM to learn how it works 🙂
You need to start a transaction before you can change the Revit model. Here are some examples of how that should be done:
https://boostyourbim.wordpress.com/category/transactions/
Thanks Harry it works now fine, i asked here because i know that you are using macro more than other blogs.
Hi Harry,
Is there any possibilities that I can prevent other user from viewing revit macro and modified the source code?
Thank you.
Abby
No, but that is an interesting idea. To do that you would have to compile the code into a dll for an external command