• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Calling Ruby Function from SketchyPhysics

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 2 Posters 359 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jblively
    last edited by jblively 14 May 2010, 17:12

    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

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 14 May 2010, 19:21

      Sorry, what's sp?

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • J Offline
        jblively
        last edited by 14 May 2010, 20:00

        Sorry, SketchyPhysics

        1 Reply Last reply Reply Quote 0
        • J Offline
          jblively
          last edited by 20 May 2010, 20:42

          @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

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement