jeremytammik / RevitLookup

Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.
http://thebuildingcoder.typepad.com
MIT License
1.03k stars 294 forks source link

Snoop section Command missing. #150

Closed ricaun closed 1 year ago

ricaun commented 1 year ago

First of all congratulations! The new version/UI looks amazing.

I was testing in Revit 2024 and found some annoying problems.

The SnoopSelectionCommand does not exist. Only on the modify panel which means is not possible to create a shortcut because the command was not registered in the normal way.

The best approach should be to register the SnoopSelectionCommand in the main RevitLookup panel and create the Modify as well, you could create a copy of the RibbonItem or create a new one like the current code.

Another thing that would be great is a way to disable the Modify in the configuration of the plugin, make the RibbonPanel visible/not visible should make the trick.

I gonna take a look at the project and create a PR if manage to fix that.

Nice3point commented 1 year ago

I haven't run Revit 2024 unfortunately, so I can't look and tell how it looks. However, it compiled without any problems. Has Autodesk changed the code of the AdWindow library ?

Yes, thanks if you take a look and find the cause of this malfunction.

About duplicating the SnoopSelection command and disabling it on the ribbon, other people's opinions need to be gathered as well

ricaun commented 1 year ago

You cannot find the Snoop Selection in the Keybord Shortcut if you add the Panel/Button in the modify tab using AdWindow. The SnoopSelectionCommand was never registered in Revit. I created my own version so I can find the command and add a shortcut image

ricaun commented 1 year ago

Something like this:

image

https://github.com/ricaun/RevitLookup/tree/fixSnoop

Nice3point commented 1 year ago

Sorry, I misunderstood the problem. Shortcut support will be available in the next update

изображение

About the button on the "Modify" tab - not all users have yet appreciated the new version and more feedback is needed

ricaun commented 1 year ago

I personally hate when a plugin adds stuff in the modify tab without my consent, a shortcut always works fine for years.

Nice3point commented 1 year ago

Others say it's one of the best solutions, so it's a matter of taste. Hotkeys are used by maybe 10% of users, if not less

andydandy74 commented 1 year ago

Hi, I'm one of the 10% hotkey users ;-) Although I really like the idea of having the snoop selection tool available in the Modify tab I would miss being able to bring up the command via hotkey, Can't we have both?

Nice3point commented 1 year ago

Hi, I'm one of the 10% hotkey users ;-) Although I really like the idea of having the snoop selection tool available in the Modify tab I would miss being able to bring up the command via hotkey, Can't we have both?

Hotkey support will, in future updates. For now, let's discuss the position of the button itself https://github.com/jeremytammik/RevitLookup/discussions/151