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