Etichette

venerdì 11 ottobre 2013

Install revit macros...

In this article I will show you how to install an external revit macro in your revit installation.


 1. You need that the macro has this structure

In the "Source" folder you will have the source files and in the "Addin" folder you will have the compiled dll from Revit

2. You need to copy "My macro" to C:\ProgramData\Autodesk\Revit\Macros\2014\Revit\AppHookup\

3. Now you just need to start Revit, Click on "Macro Manager" in Manage tab, Click on "Application".
If you done all correctly this is the result:

4. In this case my macro doesn't work because it is not compiled so to start it you need to click on "edit" and a new window will appear. All you have to do is to click on "build" and click on "build solution". If all works fine a message will appear above in the form.


5. Now closing the editor you just need to select the function from your macro clicking on "+" and you will be able to run it without problems








Nessun commento:

Posta un commento