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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement