sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Toggle Units

    Scheduled Pinned Locked Moved Plugins
    159 Posts 47 Posters 116.4k Views 47 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.
    • M Offline
      Matt666
      last edited by

      I have edited the script post with your improvment !
      😉

      Frenglish at its best !
      My scripts

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

        Edson, do you still have same problems?

        Frenglish at its best !
        My scripts

        1 Reply Last reply Reply Quote 0
        • EdsonE Offline
          Edson
          last edited by

          sorry, matt, but it just does not work for me on mac. no changes of unit no matter what icon one clicks on.

          installing the 1 icon version still brings the message quoted above. by the way, what is this one supposed to do? what is the unit it changes to?

          edson mahfuz, architect| porto alegre • brasil
          http://www.mahfuz.arq.br

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

            Can you try with this script, please ?


            Work on Mac ?? Unzip all in the plugin folder.

            Frenglish at its best !
            My scripts

            1 Reply Last reply Reply Quote 0
            • V Offline
              Vichingo
              last edited by

              Hi,

              I am having some difficulties with the qua;ity of the Icons. For some reason they will not clean up, and they look very distored. Anybody want to desing some slick buttons to dress up this otherwise great plug

              1 Reply Last reply Reply Quote 0
              • EdsonE Offline
                Edson
                last edited by

                sure. no changes, ie, nothing happened. i have attached a screen grab for you to see that the error message is still showing and the toolbar shows a blank square (it does not change if i click on it).

                should you need me to test future changes on mac, just let me know.toggleunits.png

                edson mahfuz, architect| porto alegre • brasil
                http://www.mahfuz.arq.br

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

                  ..phew - didn't know i was going to give you so much work Matt!

                  i can draw some icons later today - can i suggest one further change to the scripts: if we have the icons in png formats they are much better quality..Thanks

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

                    No problem CadFather 😉

                    Edson : Thank you !
                    Have you unzipped ain the plugin folder, and keep icons in the folder "toggle_units_icons" ?
                    If yes, Can you open ruby console, type this line please :

                    Sketchup.find_support_file("tuin.gif", "Plugins/toggle_units_icons")
                    

                    and show me what it returns ?

                    Thank you !

                    Frenglish at its best !
                    My scripts

                    1 Reply Last reply Reply Quote 0
                    • EdsonE Offline
                      Edson
                      last edited by

                      it returns this:

                      @unknownuser said:

                      Sketchup.find_support_file("tuin.gif", "Plugins/toggle_units_icons")
                      /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/toggle_units_icons/tuin.gif

                      cheers.

                      edson mahfuz, architect| porto alegre • brasil
                      http://www.mahfuz.arq.br

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

                        some icons - not great, will work more..

                        tu.png


                        16 GIF.rar


                        24 GIF.rar

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          cornel
                          last edited by

                          Many thanks, Matt!
                          For me it’s a considerable tool – I work very often w/ different unit formats on the same dwgs.

                          Best regards,
                          Cornel

                          1 Reply Last reply Reply Quote 0
                          • Didier BurD Offline
                            Didier Bur
                            last edited by

                            Matt,
                            STP remplace "unity" par "unit" dans le script. Unity veut dire à peu près "unification". 😉

                            DB

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

                              @CadFather, Thank you ! Could you post them in png format, please ?

                              @didier said:

                              STP remplace "unity" par "unit" dans le script. Unity veut dire à peu près "unification".

                              😳 🤣 Vive mon anglais désastreux !

                              You're welcome Cornel !! 😉

                              Frenglish at its best !
                              My scripts

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

                                ..they do need touching up, but here they are


                                16&24 PNG.rar

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

                                  The 9 icons script has been updated with new icons on the script post. Please try it Edson !

                                  Thank you CadFather !!

                                  Frenglish at its best !
                                  My scripts

                                  1 Reply Last reply Reply Quote 0
                                  • EdsonE Offline
                                    Edson
                                    last edited by

                                    @matt666 said:

                                    The 9 icons script has been updated with new icons on the script post. Please try it Edson !

                                    no change, matt. still not working on mac. i click on the icons and nothing changes; it keeps the unit set through model info-->units.

                                    edson mahfuz, architect| porto alegre • brasil
                                    http://www.mahfuz.arq.br

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

                                      Aaaargh ! I don't understand 😮 😮 😮 😞 😞

                                      I need some help... I will ask others french scripters 😉 ! THERE IS A SOLUTION !!

                                      Frenglish at its best !
                                      My scripts

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

                                        anyone else on mac having the same problem?

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

                                          very good!thanks.

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

                                            Can someone test this last one on Mac, please ?

                                            Frenglish at its best !
                                            My scripts

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 2 / 8
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement