Is there any documentation for the Ansys.UI.Toolkit?
Mark
Member Posts: 3
**
With only the helper comments that come up with the autocomplete, it is very difficult. For example, adding a RadioButton to a UI does not follow the same protocols as a Button
Tagged:
0
Answers
-
The short answer is no... this is not something that has published documentation.
You may want to use the dir(myobj) function on controls as you create them to see what is available for each control.
The Bolt Tools Add on in Mechanical (2022.2 and above) also has a number of examples of using the toolkit. You can look at the directory of that add on and look at WizardControlsV2.py for a specific example of implementation.
0