sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Plugin] Make Named Group

    Scheduled Pinned Locked Moved Plugins
    25 Posts 13 Posters 24.3k Views 13 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.
    • thomthomT Offline
      thomthom
      last edited by 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 Reply Last reply Reply Quote 0
      • A Offline
        alz
        last edited by

        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 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          @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 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

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

            TIG

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @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 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                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 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  @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 Reply Last reply Reply Quote 0
                  • D Offline
                    din_wiesel
                    last edited by

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

                    greets din

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      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 Reply Last reply Reply Quote 0
                      • J Offline
                        JGA
                        last edited by

                        Thanks for the plugin, a great idea.

                        Regards,
                        JGA

                        Regards,
                        JGA

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dedmin
                          last edited by

                          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 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @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 Reply Last reply Reply Quote 0
                            • D Offline
                              dedmin
                              last edited by

                              Clipboard01.jpg

                              1 Reply Last reply Reply Quote 0
                              • thomthomT Offline
                                thomthom
                                last edited by

                                ❓

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

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dedmin
                                  last edited by

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

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    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 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dedmin
                                      last edited by

                                      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 Reply Last reply Reply Quote 0
                                      • utilerU Offline
                                        utiler
                                        last edited by

                                        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 Reply Last reply Reply Quote 0
                                        • bagateloB Offline
                                          bagatelo
                                          last edited by

                                          @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 Reply Last reply Reply Quote 0
                                          • utilerU Offline
                                            utiler
                                            last edited by

                                            @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 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement