• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

Unit plugin not work in SU 7.1 ?

Scheduled Pinned Locked Moved Developers' Forum
17 Posts 6 Posters 1.9k Views
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 3 Oct 2009, 04:13

    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
    • C Offline
      Chris Fullmer
      last edited by 4 Oct 2009, 04:20

      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
      • C Offline
        CadFather
        last edited by 4 Oct 2009, 09:49

        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 5 Oct 2009, 11:00

          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 5 Oct 2009, 13:42

            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
            • K Offline
              ken
              last edited by 5 Oct 2009, 15:23

              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 6 Oct 2009, 13:04

                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
                • T Offline
                  TIG Moderator
                  last edited by 6 Oct 2009, 15:22

                  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
                  • C Offline
                    CadFather
                    last edited by 7 Oct 2009, 07:53

                    anyone out there willing to take this on?

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 7 Oct 2009, 11:53

                      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
                      • K Offline
                        ken
                        last edited by 7 Oct 2009, 13:31

                        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
                        • C Offline
                          CadFather
                          last edited by 7 Oct 2009, 15:36

                          mm..this is what i get:

                          Error Loading File toggle_units.rb
                          cannot convert nil into String

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            CadFather
                            last edited by 8 Oct 2009, 14:29

                            anyone with the same problem?

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by 8 Oct 2009, 14:32

                              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
                              • C Offline
                                CadFather
                                last edited by 8 Oct 2009, 14:39

                                yes, already done yesterday - same error.. 😞

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jim
                                  last edited by 8 Oct 2009, 14:42

                                  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
                                  • C Offline
                                    CadFather
                                    last edited by 8 Oct 2009, 16:12

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

                                    Advertisement