π‘ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
UI::set_toolbar_visible on mac - bugged?
-
UI::toolbar_names
returns two strings on Mac. I can use those strings to show two toolbars. But I can't hide them again. Bug or some weird Mac thing I'm not understanding.> UI;;toolbar_names ["GoogleToolPaletteController", "ToolPaletteController"] > UI;;set_toolbar_visible("GoogleToolPaletteController", true) true > UI;;set_toolbar_visible("ToolPaletteController", true) true > UI;;set_toolbar_visible("ToolPaletteController", false) true > UI;;set_toolbar_visible("GoogleToolPaletteController", false) true
The return value of
UI::set_toolbar_visible
is suppose to be the newly set visibility. Notice that on Mac it always return true.
Advertisement