sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    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

      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
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        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

          Sorry, SketchyPhysics

          1 Reply Last reply Reply Quote 0
          • J Offline
            jblively
            last edited by

            @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
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement