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.
    • H Offline
      huyvuvn
      last edited by

      when I update Su 7 to 7.1 , this plugin not work , any help ???

      thanks


      Snap1.jpg

      happiness on the way, not in the destination.

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        I saw someone else mention this. I do not know if anyone has looked into it.

        Chris

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

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

          I sent a pm to Matthiew but he has no time at the moment, he will look into it (eventually)

          the problem is probably minor - perhaps someone else can fix it. i don't think Matt would object..

          1 Reply Last reply Reply Quote 0
          • H Offline
            huyvuvn
            last edited by

            thanks all πŸ˜„ sothat I'm waiting for the new verison of unit plugin 😞

            happiness on the way, not in the destination.

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

              Could you copy and paste this in the Ruby Console, and show the result?

              Sketchup.active_model.options.map{|o| o.name}
              
              

              It should look similar to this, but may be in your language:

              ["PageOptions", "SlideshowOptions", "NamedOptions", "UnitsOptions", "PrintOptions"]
              

              Hi

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

                Yep, that what I get.

                Sketchup.active_model.options.map{|o| o.name}
                ["PageOptions", "SlideshowOptions", "NamedOptions", "UnitsOptions", "PrintOptions"]

                Ken

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

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

                  Thanks Ken, I was hoping to see if a foreign language version used translated names for these.

                  Maybe I should have just said that to begin with. πŸ˜„

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • 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