Enable SketchUp tools
-
Hello everyone.

Which code can be used to activate the SketchUp selection tool?
Is there a list that gives all the codes to activate any tools in SketchUp?
Thank you
David
-
http://ruby.sketchup.com/Sketchup.html#send_action-class_method
Sketchup.send_action("selectSelectionTool:") -
model = Sketchup.active_model tool = model.select_tool(nil)https://ruby.sketchup.com/Sketchup/Model.html#select_tool-instance_method
@unknownuser said:
The select tool is activated if you pass
nilto theselect_toolmethod.
See this thread as well:
https://sketchucation.com/forums/viewtopic.php?t=34840
For SketchUp versions 2016+ they added new methods for window selection that can be used when writing your own Ruby tools:
https://ruby.sketchup.com/Sketchup/PickHelper.html#window_pick-instance_method
-
@TIG The url feature is seriously scrwed!
-
I have also just noticed this.
If you edit a post with a url it becomes messed up.
I fixed your post's.
But if you were to edit again it'll break them.
I'll get Gábor on to it... -
Thank you for these solutions.

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