Message 1 of 2

Not applicable
05-26-2020
11:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
My goal is to create a Revit Add-in using Macro Manager with python. It has very clear example and works fine but i failed to implement Ribbon button as in c#.
I used simple C# example to start with: youtu.be/KHMwd4U_Lrs
I understand that i need Execute methode in the python script something like this:
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
myMacro(commandData.Application.ActiveUIDocument);
return Result.Succeeded;
}
Cant find any inforamtion in web, can anyone please help with code sample? Both ribbon and script
P.S. I know about pyrevit
Solved! Go to Solution.