I am trying to make a external application using Ribbon Add In in Revit, Can anyone please tell me how to link the buttons of Ribbon Panel with database (sql/ Access) and how to highlight the rooms using their Room Id , using API ?
You can write a Revit external command to access the database.
And bind the external command to your own button in the Ribbon panel.
If the application to access the database is not related to Revit, you can start that executive application by starting a new process.
I hope you already know how to create a button in Revit Tab.
With regard to highlight a room, I think the only way is to add the room to the selection. Revit highlight it.
Here is code fragment.
Selection sel = uiDoc.Selection.
Hope this helps.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register