Message 1 of 4
Show/Hide Ribbon Buttons depending on Project or Family Editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using this code to create a ribbon panel and place some buttons on it.
RibbonPanel ribbonPanel = application.CreateRibbonPanel(firstPanelName);
PushButtonData buttonData = new PushButtonData(... etc..
Is there a way to change the visibility of button based on if you're in a project view or the family editor? I have different tools specific to both views and I'd like to prevent the user from running a family tool on a project.
Any help is appreciated, Thanks!