Hi,
I am working on a project with two main add-in modules, that contain many tools and buttons. One module is Excavation and the other is tunnelling. I want to activate and deactivate the add-in tools based on the module selection. for example if I select tunnel module then excavation module add-in tools should be deactivated and vice versa.
If someone can guide me about how to execute this customization, it would be very helpful. Thank in advance.
Hi Jaewon,
In the ribbon toolbar where your tools located you can add combobox control with 2 records: Excavation and Tunnelling. On selection changed of combobox you can change state of tools (enable/disable). Enabling/disabling you can manage with button or tool condition parameter defined in config.daml and
FrameworkApplication.State.Activate method. To get sample check ArcGIS Pro SDk samples for FrameworkApplication.State.Activate method.
Thanks for the help.
I will look into it and if any problem occurs, I will ask here.
Thanks again.