what's a good wa to create an addin in revit. be very concise
- User
what's a good wa to create an addin in revit. be very concise
Assistant
To create a Revit add-in:
- Use Revit API – Leverage Autodesk’s .NET-based API.
- Set Up Dev Environment – Install Visual Studio and Revit SDK.
- Create a Class – Inherit from
IExternalApplication(for startup) orIExternalCommand(for tools). - Implement Methods – Use
OnStartup/OnShutdown(for apps) orExecute(for commands). - Add UI (Optional) – Use RibbonPanel via
UIControlledApplication. - Build & Deploy – Compile to
.dll, then place in%APPDATA%\Autodesk\Revit\Addins\[Version].
Example minimal
IExternalCommand:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.