sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Make Named Group

    Scheduled Pinned Locked Moved Plugins
    25 Posts 13 Posters 35.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
      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
        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
          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
            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
              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
                JGA
                last edited by

                Thanks for the plugin, a great idea.

                Regards,
                JGA

                Regards,
                JGA

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

                      Clipboard01.jpg

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

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

                          1 Reply Last reply
                          Reply Quote 0
                          • thomthomT
                            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
                              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
                                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

                                Just Curious...

                                1 Reply Last reply
                                Reply Quote 0
                                • bagateloB
                                  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
                                    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?

                                    Just Curious...

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • G
                                      Goonster
                                      last edited by

                                      Great plug in.Thanks. πŸ˜‰

                                      Ive assigned G' as a shortcut to it so I don`t have to keep going to the Edit menu.

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • V
                                        veerlexyz
                                        last edited by

                                        Thanks a lot for this plugin.
                                        I would love to see this plugin "Make Named Group" in the right-click-menu.
                                        Is that possible?

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

                                          @veerlexyz said:

                                          Thanks a lot for this plugin.
                                          I would love to see this plugin "Make Named Group" in the right-click-menu.
                                          Is that possible?

                                          It is possible - but if I where to add it I'd get requests about removing it from people who want to reduce the amount of items in the context menu. Right now I don't have the time to make a UI for controlling this option.

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

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • T
                                            tula1847
                                            last edited by

                                            Hello just tried to download and says the .rb file is locked. How do I unlock I have a macbook pro.
                                            Thanks

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 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