11-01-2024
07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-01-2024
07:06 AM
Hi guys. Not sure that customize dialog would recognize that you have some code to enable or disable specific commands when specific environment changes happen. It seems to me like the following would be the proper way to handle that.
Environment.DisabledCommandList
That way the Environment itself knows which ones are not relevant while it is active.
There is also the Environment.DisabledCommandTypes for broader terms.
And you can control the RadialMarkingMenus in that Environment (Environment.RadialMarkingMenus), if you want to make sure a specific command is not in any of them by default, but that should not have anything to do with shortcuts in the customize dialog.
Wesley Crihfield
(Not an Autodesk Employee)