Py revit and Bimlink

Hi everyone, :wave:
I’m brand new to pyRevit, I really like it and would like to experiment things with.
I’m used to work with the “Bimlink” tool from Ideate Software, another revit plugin.

I would like to know if it was possible to create a push button with pyrevit that would allow me to launch an export (or import) to excel with Bimlink (but using PyRevit)?..

Maybe I’m not making myself clear… :smiling_face_with_tear:

Anyway, thanks a lot in advance if anyone has a solution!

1 Like

Hi @alhuchet, welcome to pyRevits community!

Unfortunately it’s not possible to access other Revit add-ins, unless they provide a publicly accessible API (and they usually don’t).

There’s a convoluted way to detect the comman launched when you click a button (search for sendcommand here in the forum or more generally revit sendcommand on google), but I suppose you want to add some other automation other than clicking the button…

I was able to do this using this solution:

But it may depend on the addin you are “connecting” to and you have to find the correct command_id.
To find the command_id, check the jorunal after clicking the button you try to “copy”, or check the “KeyboardShortcuts.xml” in %appdata%\Autodesk\Revit\Autodesk Revit [year]

I tried the .invokebutton bundle, but never got it to work.