@jim said:
UI.toolbar("Construction Line Tool").show
UI.toolbar("Construction Line Tool").hide
But even if the plugin is not installed, this method creates a toolbar entry in the View > Toolbars menu.
So the problem for a script is knowing which toolbars are in use. You can get a list of native Toolbar names ( UI.toolbar_names) but there is not a good way to get a list of Ruby toolbars.
I have a dialog that uses a text file to create a list of installed toolbars and toggle them on/off, but I'm still working on a good way to identify the Ruby toolbar names.
Jim,
Was wondering if you made any progress with this. It would be great to have a custom toolbar for rubies. For example the BZ Toolbar contains many tools and I only use one of them. It takes up a lot of real estate. Thanks