Message 1 of 5
Run ExternalCommand from Dockable Pane Button without Registering in External Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I have a dockable pane in my Revit add-in that contains a button. When this button is clicked, I want to execute a specific ExternalCommand. Currently, for the ExternalCommand to run, I have to register it in the AddInManifest. However, this also makes the command visible in the "External Tools" menu in Revit, which I do not want.
My requirements are:
- I want the ExternalCommand to run directly when clicking the button in the dockable pane.
- I do not want the ExternalCommand to be listed in the "External Tools" menu.
- If possible, I would prefer to avoid registering the command in the AddInManifest.
Is there a way to achieve this behavior in Revit API? Any guidance or best practices would be appreciated.
Thanks in advance!