Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Open layers from Custom Toolbar
-
Hello,
I can do most items from within my custom tool bar, using this code here:
result = Sketchup.send_action “action”and parameters like these:
showRubyPanel:
viewZoomExtents:
viewZoomToSelection:
viewUndo:
selectOrbitTool:
selectDollyTool:
selectTurnTool:
selectWalkTool:But I don't know what the code is to turn on the layers window. I've try a few guesses and nothing seems to work. Any tips?
Thanks,
Joe
-
UI.show_inspector('Layers')
http://code.google.com/apis/sketchup/docs/ourdoc/ui.html#show_inspector
Advertisement