Hi guys!
I am using FreeCAD 0.20 (windows).
1. I want to hide some specific toolbar buttons of different workbench to make the interface cleaner. Is it there a way I can do it through python code?
2. I want to add some frequently-used toolbar buttons from different workbench on my self-created workbench. How can I do that?
Hide specific toolbar buttons!!!!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Hide specific toolbar buttons!!!!
Thank you!
Re: Hide specific toolbar buttons!!!!
Code: Select all
Gui.Command.get('COMMAND_NAME').getAction()[0].setVisible(False)
https://wiki.freecadweb.org/Interface_C ... n#Toolbars2. I want to add some frequently-used toolbar buttons from different workbench on my self-created workbench. How can I do that?
Re: Hide specific toolbar buttons!!!!
Thank you so much for your reply!!
Thanks. It works the way I expected!Code: Select all
Gui.Command.get('COMMAND_NAME').getAction()[0].setVisible(False)
I know this way. Is it possible for me to do it through user.cfg or python code ? (eg: using 'appendToolbar' method)
Thank you!