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

    [Plugin] Make Named Group

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

      By request-ish: http://forums.sketchucation.com/viewtopic.php?f=180%26amp;t=23567
      (Code sample turned out to become full plugin.)

      Adds Make Named Group to the Edit menu.

      NamedGroup.png

      Link Preview Image
      SketchUp Plugins | PluginStore | SketchUcation

      SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

      favicon

      (sketchucation.com)


      Cookieware.png

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

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

        Nice! I like the Layer addition.

        What about defaulting it so the GROUP NAME field is highlighted first? Then you can immediately enter a group name, instead of selecting it, then naming it?

        1 條回覆 最後回覆 回覆 引用 0
        • thomthomT 離線
          thomthom
          最後由 編輯

          @alz said:

          What about defaulting it so the GROUP NAME field is highlighted first? Then you can immediately enter a group name, instead of selecting it, then naming it?

          hm... don't think I have control of that. Unless I swap the order of them.

          Or I could make a custom window. Will see.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

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

            Unfortunately with the basic inputbox the last set field is always highlighted...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              @tig said:

              Unfortunately with the basic inputbox the last set field is always highlighted...

              I filed a bug on this.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 條回覆 最後回覆 回覆 引用 0
              • pilouP 離線
                pilou
                最後由 編輯

                In this order of idea: a ruby who take the name of a group (or Component) selected then create the same "Layer name" and put the group (or Component) in this new Layer named will ne fine 😄

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 條回覆 最後回覆 回覆 引用 0
                • thomthomT 離線
                  thomthom
                  最後由 編輯

                  @unknownuser said:

                  In this order of idea: a ruby who take the name of a group (or Component) selected then create the same "Layer name" and put the group (or Component) in this new Layer named will ne fine 😄

                  Untested, but this should place all groups/components into a layer based on their name.

                  
                  model = Sketchup.active_model
                  sel = model.selection
                  
                  sel.each { |e|
                    next unless e.is_a?(Sketchup;;Group) || e.is_a?(Sketchup;;ComponentInstance)
                    model.layers.add(e.name) if model.layers[e.name].nil?
                    e.layer = model.layers[e.name]
                  }
                  
                  

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

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

                    Would it be possible to put the entry from the "Edit Menu" to the context menu?

                    greets din

                    1 條回覆 最後回覆 回覆 引用 0
                    • thomthomT 離線
                      thomthom
                      最後由 編輯

                      I will see if I can add support for UI Manager - so you can choose. There are people who prefer not to have their context menu filled with more items. So it's not easy to get a balance. But when the user can choose then it's not an issue any more.

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 條回覆 最後回覆 回覆 引用 0
                      • J 離線
                        JGA
                        最後由 編輯

                        Thanks for the plugin, a great idea.

                        Regards,
                        JGA

                        Regards,
                        JGA

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

                          I just saw this - very useful! I started recently using groups instead of components and I'm using this wonderful plugin - http://forums.sketchucation.com/viewtopic.php?t=9318
                          If there is a way to combine them into one - perfect!

                          1 條回覆 最後回覆 回覆 引用 0
                          • thomthomT 離線
                            thomthom
                            最後由 編輯

                            @dedmin said:

                            I just saw this - very useful! I started recently using groups instead of components and I'm using this wonderful plugin - http://forums.sketchucation.com/viewtopic.php?t=9318
                            If there is a way to combine them into one - perfect!

                            Is there different functionality?

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

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

                              Clipboard01.jpg

                              1 條回覆 最後回覆 回覆 引用 0
                              • thomthomT 離線
                                thomthom
                                最後由 編輯

                                ❓

                                Thomas Thomassen — SketchUp Monkey & Coding addict
                                List of my plugins and link to the CookieWare fund

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

                                  It has a drop-down list of 20 names to choose from

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    That seems very specific...
                                    I still don't see what combination it is you're looking for.

                                    Thomas Thomassen — SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

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

                                      Your plugin plus a drop-down list for the group names. Jim's plugin allows You to write 20 most used names in a text file for later use - useful in many fields where the parts are common - furniture and the like.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • utilerU 離線
                                        utiler
                                        最後由 編輯

                                        Hey Thomas, love your plugins....
                                        With this one; do you think you could have the group added to a layer of the same name? If no layer, ask the user do you want to add a layer? Would be a great timesaver.....

                                        Thanks.
                                        A

                                        purpose/expression/purpose/....

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • bagateloB 離線
                                          bagatelo
                                          最後由 編輯

                                          @utiler said:

                                          Hey Thomas, love your plugins....
                                          With this one; do you think you could have the group added to a layer of the same name? If no layer, ask the user do you want to add a layer? Would be a great timesaver.....

                                          Thanks.
                                          A

                                          It would be interesting if there was a box or drop down menu where it appeared the possibility to create and now include the object in a layer with the same name.

                                          Create components instead of groups might be interesting too.

                                          While the cat's away, the mice will play

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • utilerU 離線
                                            utiler
                                            最後由 編輯

                                            @utiler said:

                                            Hey Thomas, love your plugins....
                                            With this one; do you think you could have the group added to a layer of the same name? If no layer, ask the user do you want to add a layer? Would be a great timesaver.....

                                            Thanks.
                                            A

                                            Thom?

                                            purpose/expression/purpose/....

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

                                            Advertisement