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

    [Plugin] Toggle Units

    已排程 已置頂 已鎖定 已移動 Plugins
    159 貼文 47 Posters 116.5k 瀏覽 47 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • V 離線
      vidy
      最後由 編輯

      @watkins said:

      Dear All,

      Okay, Toggle Units is now working in V8, but only after installing the version posted by 'blajnov' (page 6 of this thread, and near the top).

      Kind regards,
      Bob

      dear bob,
      do you have the icon showed up on v.8?

      still so much to learn..

      1 條回覆 最後回覆 回覆 引用 0
      • W 離線
        watkins
        最後由 編輯

        Dear Vidy,

        Yes I do, and I have checked all the functions and they work. It would be very useful if someone could update the first posting with the V8 compatible plugin.

        Regards,
        Bob

        1 條回覆 最後回覆 回覆 引用 0
        • TIGT 離線
          TIG Moderator
          最後由 編輯

          I have updated the first post in the thread http://forums.sketchucation.com/viewtopic.php?p=81391#p81391
          Please use the new 'bold' version which is v6/7/8... friendly - I left the old one BUT I don't recommend that version at all...

          TIG

          1 條回覆 最後回覆 回覆 引用 0
          • V 離線
            vidy
            最後由 編輯

            thanks bob and tig, now it works perfectly

            still so much to learn..

            1 條回覆 最後回覆 回覆 引用 0
            • Dave RD 離線
              Dave R
              最後由 編輯

              TIG,

              I just installed the latest version but I am getting the blank toolbar. In looking through the script I see what looks like the path to the PNGs shown as below. The icon folder is called "toggle_units_icons" but I wonder if it or the script should be modified. Or maybe I'm looking in the wrong place and have a different problem.

              cmd = UI;;Command.new(Strings["Decimal"]) { toggle_units(5) }
              cmd.small_icon = "CD_ICONS/TWEAK/tudec16.png"
              cmd.large_icon = "CD_ICONS/TWEAK/tudec24.png"
              	    
              
              

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 離線
                TIG Moderator
                最後由 編輯

                @dave r said:

                TIG,

                I just installed the latest version but I am getting the blank toolbar. In looking through the script I see what looks like the path to the PNGs shown as below. The icon folder is called "toggle_units_icons" but I wonder if it or the script should be modified. Or maybe I'm looking in the wrong place and have a different problem.

                cmd = UI;;Command.new(Strings["Decimal"]) { toggle_units(5) }
                > cmd.small_icon = "CD_ICONS/TWEAK/tudec16.png"
                > cmd.large_icon = "CD_ICONS/TWEAK/tudec24.png"
                > 	    
                > 
                

                You are right 😒 - I copied the files over without looking at then [I didn't use this tool at all]
                I've now updated the zip http://forums.sketchucation.com/viewtopic.php?p=81391#p81391 so that it has the correct folder specified for the icons !

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • Dave RD 離線
                  Dave R
                  最後由 編輯

                  Thank you, TIG. I'm amazed that I sorted out the problem correctly. I must be learning from watching you.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 條回覆 最後回覆 回覆 引用 0
                  • M 離線
                    Matt666
                    最後由 編輯

                    Hi all.
                    Sorry for my absence, for now I don't often use SU. Thank you TIG to be here... 😳

                    Frenglish at its best !
                    My scripts

                    1 條回覆 最後回覆 回覆 引用 0
                    • M 離線
                      mag1800
                      最後由 編輯

                      [floatr:2nr8pix2][/floatr:2nr8pix2]Great Plugin Matt. Works great for me. Thank You.

                      1 條回覆 最後回覆 回覆 引用 0
                      • M 離線
                        Matt666
                        最後由 編輯

                        Hi all.
                        Plugin updated with a new tool (Toolbar manager): You can now choose icons you want to display in the toolbar.
                        Thanks to Thomthom and TIG!

                        LINK: http://forums.sketchucation.com/viewtopic.php?p=81391#p81391

                        Frenglish at its best !
                        My scripts

                        1 條回覆 最後回覆 回覆 引用 0
                        • M 離線
                          Matt666
                          最後由 編輯

                          Do not hesitate to tell me if something goes wrong... I'm new with HTML and JAVASCRIPT...

                          Frenglish at its best !
                          My scripts

                          1 條回覆 最後回覆 回覆 引用 0
                          • D 離線
                            driven
                            最後由 編輯

                            Hi Mat,

                            on my mac if I instal this correctly and open SU

                            Unless, I use the manager, make a change and then quit

                            SU actually crashes when I close a window and I get a report dialog.

                            When I remove this ruby, everything works as it should, if put it back again problem returns.

                            it make no difference if I use or don't use the plugin, only if it's installed.

                            %(#BF0040)[28 com.google.sketchupfree8 0x004a9316 std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem >::_M_insert_aux(__gnu_cxx::__normal_iterator<CSketchUpToolbar::CToolBarItem*, std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem > >, CSketchUpToolbar::CToolBarItem const&) + 1968
                            29 com.google.sketchupfree8 0x004aa4ab std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem >::_M_insert_aux(__gnu_cxx::__normal_iterator<CSketchUpToolbar::CToolBarItem*, std::vector<CSketchUpToolbar::CToolBarItem, std::allocatorCSketchUpToolbar::CToolBarItem > >, CSketchUpToolbar::CToolBarItem const&) + 6469
                            30 libCommonUtils.dylib 0x00a8538a CNotificationCenter::SendNotification(char const*, void*) + 202
                            31 com.google.sketchupfree8 0x004c1d48 non-virtual thunk to CTool::~CTool() + 3048
                            32 com.google.sketchupfree8 0x004c27c3 non-virtual thunk to CTool::~CTool() + 5731
                            33 com.google.sketchupfree8 0x00008335 0x1000 + 29493]

                            john

                            learn from the mistakes of others, you may not live long enough to make them all yourself...

                            1 條回覆 最後回覆 回覆 引用 0
                            • M 離線
                              Matt666
                              最後由 編輯

                              Hum Thomthom told me I had to use 'show' with windows and 'show_modal' with mac... I think this is the problem (because i completely forgot this!). I'll take a look soon thank you!

                              Frenglish at its best !
                              My scripts

                              1 條回覆 最後回覆 回覆 引用 0
                              • D 離線
                                driven
                                最後由 編輯

                                Hi Mat,
                                It actually seems to be something to do with the preference settings, which SU sends to the .plist on Mac.

                                .show and .show_modal never cause crashes, it's just the dialog disappears under the main window.
                                john

                                learn from the mistakes of others, you may not live long enough to make them all yourself...

                                1 條回覆 最後回覆 回覆 引用 0
                                • M 離線
                                  Matt666
                                  最後由 編輯

                                  Hi!
                                  See first post to download new version [v2.11].

                                  • Mac bug fixed
                                  • Add tool in extensions window.
                                    Big thanks to driven for his help! 👍

                                  LINK: http://forums.sketchucation.com/viewtopic.php?p=81391#p81391

                                  Frenglish at its best !
                                  My scripts

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • A 離線
                                    ankitdarda
                                    最後由 編輯

                                    thanks a lot..

                                    http://forums.sketchucation.com/posting.php?mode=reply&f=323&t=11745#

                                    thank you !!!

                                    feel free to click on my site http://www.ankitfolio.co.cc includes my blog page link within it

                                    :sunglasses:

                                    ankitdarda

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • M 離線
                                      Matt666
                                      最後由 編輯

                                      😉

                                      Frenglish at its best !
                                      My scripts

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • U 離線
                                        ultimato andy
                                        最後由 編輯

                                        where is the pluggin to download for sketchup 8? i cant find it!:(

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • GaieusG 離線
                                          Gaieus
                                          最後由 編輯

                                          @ultimato andy said:

                                          where is the pluggin to download for sketchup 8? i cant find it!:(

                                          Attached to the first post of the topic (usually at the bottom)

                                          Gai...

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • M 離線
                                            Matt666
                                            最後由 編輯

                                            Thank you Gaieus!

                                            Frenglish at its best !
                                            My scripts

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 3 / 8
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement