How to call Sandbox tool from ruby script (onselected)
-
Hi
Is it possible to call a tool like the Sandbox tool from a ruby script?
I wish to create a surface with sandbox tool for countours my script has created (and my also select befor it calls the Sandbox tool).Any ideas?
best regards
Hans
-
Look inside
C:\Program Files\Google\Google SketchUp 8\Tools\Sandbox\sandboxmenus.rbwhich loads the tools.
You can find the name of the tool in each command...
I guess you want is...
Sketchup::active_model.select_tool(FromContoursTool.new())
which works on the current selection, which you need to set to be your contours beforehand... -
Thanks a lot!!!!!!
Hans
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