sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Unit plugin not work in SU 7.1 ?

    Scheduled Pinned Locked Moved Developers' Forum
    17 Posts 6 Posters 2.0k Views 6 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      I fell foul of something similar... When you call options you must do it by 'name' not 'index' and similarly for their values ? ❓

      TIG

      1 Reply Last reply Reply Quote 0
      • CadFatherC Offline
        CadFather
        last edited by

        anyone out there willing to take this on?

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

          I added translation using the langhandler.rb that comes with Sketchup. I sent a copy to Matt, but he didn't respond. I guess it would be OK if I posted it.

          But I am not 100% sure that was the problem - I made some assumptions.


          toggle_units.rb


          rename to toggle_units.strings

          Hi

          1 Reply Last reply Reply Quote 0
          • kenK Offline
            ken
            last edited by

            Jim

            Works great on my computer.

            Thanks

            Ken

            Fight like your the third monkey on Noah's Ark gangway.

            1 Reply Last reply Reply Quote 0
            • CadFatherC Offline
              CadFather
              last edited by

              mm..this is what i get:

              Error Loading File toggle_units.rb
              cannot convert nil into String

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                anyone with the same problem?

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

                  You might need to rename the toggle_units.txt to toggle_units.strings and then move it to the Sketchup/Resources/your langauage/folder

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • CadFatherC Offline
                    CadFather
                    last edited by

                    yes, already done yesterday - same error.. 😞

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

                      Will you try to load it from the Ruby Console and post the error?

                      load 'toggle_units.rb'

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • CadFatherC Offline
                        CadFather
                        last edited by

                        got it Jim, it was something to do with the path to the icons - the ruby console is great but not when you forget its existence, Thanks! πŸ˜„

                        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