Calling Ruby Function from SketchyPhysics
-
Hey Guys,
I can't seem to find it anywhere...
What's the syntax to call a Ruby function from within SP, like from the onTouch area?
Thanks
Joe
-
Sorry, what's sp?
-
Sorry, SketchyPhysics
-
@jblively said:
Hey Guys,
I can't seem to find it anywhere...
What's the syntax to call a Ruby function from within SP, like from the onTouch area?
Thanks
Joe
For others who might be looking:
It's very easy syntax, in the blue sketchyphysics boxes in the UI, just put
my_rubyfunction();
Although, if you use a UI.messagebox in the called routine, it seems to crash sketchup everytime...but everything else seems to work.
Joe
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