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

    How do I create a rb file

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 319 Views 3 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.
    • N Offline
      nrschmid
      last edited by

      I found a code online. I am not sure how to save this. Do I save it as a text file? I tried doing this and then saving it with an .rb instead of .txt in the plugins folder. It won't work. What am I doing wrong?

      Code is located at:
      http://download.sketchup.com/OnlineDoc/gsu6_ruby/Docs/index.html

      Thanks 💚

      1 Reply Last reply Reply Quote 0
      • M Offline
        Matt666
        last edited by

        Hi nrschmid !

        Codes in page you've mentionned are exemples. To try them, you have to :

        • copy opne code (for example "UI.beep")
        • Open ruby console, in the SketchUp Windows menu
        • Paste it in the console
        • Enter to validate.

        Sketchup returns a beep !

        Frenglish at its best !
        My scripts

        1 Reply Last reply Reply Quote 0
        • A Offline
          azuby
          last edited by

          What does it mean: "It don't work." Maybe you're using Windows and have enabled hiding file extensions. You should disable this in Windows.

          azuby

          *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

          Bad English? PM me, correct me. :smile:**

          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