Instant Autodesk Revit 2013 Customization With ... May 2026

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

Every external command needs a specific structure. Use this template: Instant Autodesk Revit 2013 Customization with ...

: The primary way to "find" things in your model (like all Walls or Doors). Revit won't see your code unless you tell it where to look

💡 : 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 this template: : The primary way to

[Autodesk.Revit.Attributes.Transaction(Autodesk.Revit.Attributes.TransactionMode.Manual)] public class MyCommand : IExternalCommand { public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { // 1. Get the Document UIApplication uiApp = commandData.Application; Document doc = uiApp.ActiveUIDocument.Document; // 2. Start a Transaction using (Transaction trans = new Transaction(doc, "My Customization")) { trans.Start(); // Your logic goes here (e.g., changing a parameter) trans.Commit(); } return Result.Succeeded; } } Use code with caution. Copied to clipboard 📝 Manifest Files (.addin)

Google Maps