💡 : Use RevitLookup . It is an open-source tool that lets you "peek" under the hood of Revit elements to see their API properties in real-time.

: Use uiApp.ActiveUIDocument.Selection to interact with what the user clicks.

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

: The primary way to "find" things in your model (like all Walls or Doors).

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

(Includes the crucial RevitAPI.dll and RevitAPIUI.dll ).

: 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.