Revit 2013 Customization With ... - Instant Autodesk

Revit won't see your code unless you tell it where to look. Create a text file named MyPlugin.addin and place it in C:\ProgramData\Autodesk\Revit\Addins\2013\ .

: Add using Autodesk.Revit.DB; and using Autodesk.Revit.UI; at the top. 💻 The Boilerplate Code Instant Autodesk Revit 2013 Customization with ...

: Open Visual Studio and start a new C# Class Library project. Add References : Browse to your Revit installation folder. Add RevitAPI.dll (database functions). Add RevitAPIUI.dll (interface functions). Set Copy Local to False for both. Revit won't see your code unless you tell it where to look

: Use uiApp.ActiveUIDocument.Selection to interact with what the user clicks. 💻 The Boilerplate Code : Open Visual Studio

To help you move faster, would you like a code snippet for a (like auto-renaming levels) or a guide on debugging your code?

: A tool within the SDK to load code without restarting Revit. 🏗️ Basic Project Setup