How to add a label for a group of buttons in XML file

ZZ.tang
Member Posts: 23
**
in Structures
Hello,
How to add below highlighted text label in XML file.
0
Answers
-
Hi @ZZ.tang do you mean to add these with ACT or PyMechanical or something else? Have you tried anything already and how did that go? What software are you using and which version? I have tagged @AKD-Scripting-Team who might be able to help, but if you can give any more information it will be super helpful for them.
0 -
I think the closest you can do is dropdown lists:
<toolbar name="Piezoelectric And MEMS" caption="Piezoelectric And MEMS"> <separator/> <entry name="Electric BCs" icon="ec"> <entry name="Electric Charge" icon="ec" userobject="Electric Charge"/> <entry name="Surface Charge Density" icon="sc" userobject="Surface Charge Density"/> <entry name="Volume Charge Density" icon="vc" userobject="Volume Charge Density"/> </entry> <separator/> <entry name="Thermal BCs" icon="tempr"> <entry name="Temperature" icon="tempr" userobject="Temperature"/> <entry name="Convection" icon="tempr" userobject="Convection"/> <entry name="Heat Generation" icon="hgen" userobject="HGeneration"/> </entry> </toolbar>
0