Closed ricaun closed 1 year ago
For now, let's hold off all PR for 2 weeks to gather feedback from all possible people and developers. We will come back to this theme later and make this option
For now, let's hold off all PR for 2 weeks to gather feedback from all possible people and developers. We will come back to this theme later and make this option
Ok
Ok
We will definitely add this, but first we need to decide in what way and how best for everyone
No worry, I gonna use my version and see if I find some other issue.
@ricaun I have greatly simplified the code to add a button, please take a look. This also allowed to add hotkeys to it. If you want, you can check the source code to make the button always available on the ribbon without using a controller
https://github.com/jeremytammik/RevitLookup/commit/fd54b8bab07fcb49e79b230cc11649215f993c95
@ricaun I have greatly simplified the code to add a button, please take a look. This also allowed to add hotkeys to it. If you want, you can check the source code to make the button always available on the ribbon without using a controller
Interesting, I never use this createPushButton
.
Usually, I create the command in the normal way and move the Autodesk.Window.RibbonPanel or Autodesk.Window.RibbonItem using the m_RibbonItem
as you did.
I don't know how you gonna synchronize the change without resetting Revit in your current code. Gonna be easier to create using the Revit way and copy the RibbonItem and put in the Modify.
I don't know how you gonna synchronize the change without resetting Revit in your current code. Gonna be easier to create using the Revit way and copy the RibbonItem and put in the Modify.
@ricaun I have added a live ribbon update now, update your fork 😉
Summary of the Pull Request
Feature to enable/disable the Snoop Selection in Modify Tab in the setting.
What is this about:
Description: I tried to follow your pattern to create the new setting, everything looks great except
Application.UpdateModifyPanelVisibility
is hardcoded in the SettingViewModel, I didn't know if I should create an interface in the ISettingsService and move theApplication.UpdateModifyPanelVisibility
to the SettingsService.Quality Checklist