I want to customize the Ansys Workbench UI to add a tab and button as shown below :
When I click to Custom Button it should open another custom window as shown below and I can able to provide some action to button click :
How this can be done ?
Hello, @AKD-Scripting-Team might be able to take a look and help.
Hi @surajsalvi , for the button creation, I recommend you check this discussion https://discuss.ansys.com/discussion/1243/how-to-create-custom-buttons-on-wb-project-page
For the custom window, I believe there could be different solutions. What should this window do? Could you elaborate a little more on your need?
For the custom button, you should use ACT as Pierre explained. For the custom window, you can use any option supported by IronPython. If you only need to run on Windows, many people choose to use Windows Forms. For example:
from System.Windows.Forms import Application, Form
self.Text = 'Hello World'
self.Name = 'Hello World'
form = HelloWorldForm()