Revit Command in RIR

Hi Guys,

In RIR, where I can access the Revit command available? for an example, there is a created new custom tool within Revit and I want to access it.

Thanks

You can do that via the Revit API PostableCommand

More details here…
https://help.autodesk.com/cloudhelp/2018/ENU/Revit-API/Revit_API_Developers_Guide/Advanced_Topics/Commands.html

1 Like

Here is a quick example of calling the Postable commands that come with Revit as well as a Custom plugin (Revit Lookup)

These can be done once, after the button is pushed you need to go back to revit.


Re_PostCommand.gh (24.4 KB)

1 Like

Thank you very much Japhy, this is cool!

Cheers,

Hi Japhy,

Can please show me on how to use it?

Thanks

The details are in the links i posted.

To access the custom tool you need to find correct name it generates. In my example above I did the Revit Lookup Hello World example.

Go and push the button you want to incorporate.
.

Then go to the journal file and find the Execute external command

C:\Users*USERNAME*\AppData\Local\Autodesk\Revit\Autodesk Revit 2023\Journals

Copy this line into the panel.

Thanks Japhy, l will have a look onto it, cheers.