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

    [Plugin] Groups to Components

    Scheduled Pinned Locked Moved Plugins
    50 Posts 20 Posters 45.6k Views 20 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.
    • B Offline
      bsfranza
      last edited by

      hi there,

      could it be that its not yet updated for su 2014???

      its not showing in any menue 😞

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        @bsfranza said:

        hi there,

        could it be that its not yet updated for su 2014???

        its not showing in any menue 😞

        No. It works fine n SketchUp 2014. How did you install it? If installed correctly, it will appear in the Plugins menu.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • K Offline
          koliboti
          last edited by

          Hi, do you guys have plugin that makes components to groups, that work wit SU2015?

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @koliboti said:

            Hi, do you guys have plugin that makes components to groups, that work wit SU2015?
            I assume you mean to make component-instances into groups ?
            This one liner processed a selection. Making any component-instances into groups, using the same name/layer/material/attributes as the original...

            m=Sketchup.active_model;a=m.active_entities;s=m.selection;m.start_operation('!');s.grep(Sketchup;;ComponentInstance).each{|i|g=a.add_group();e=g.entities;n=e.add_instance(i.definition, i.transformation);n.explode;g.name=i.definition.name;g.layer=i.layer;g.material=i.material;i.attribute_dictionaries.each{|d|d.each_pair{|k,v|g.add_attribute(d.name,k,v)}}if i.attribute_dictionaries;i.erase!;};m.commit_operation
            

            TIG

            1 Reply Last reply Reply Quote 0
            • K Offline
              koliboti
              last edited by

              @tig said:

              @koliboti said:

              Hi, do you guys have plugin that makes components to groups, that work wit SU2015?
              I assume you mean to make component-instances into groups ?
              This one liner processed a selection. Making any component-instances into groups, using the same name/layer/material/attributes as the original...

              m=Sketchup.active_model;a=m.active_entities;s=m.selection;m.start_operation('!');s.grep(Sketchup;;ComponentInstance).each{|i|g=a.add_group();e=g.entities;n=e.add_instance(i.definition, i.transformation);n.explode;g.name=i.definition.name;g.layer=i.layer;g.material=i.material;i.attribute_dictionaries.each{|d|d.each_pair{|k,v|g.add_attribute(d.name,k,v)}}if i.attribute_dictionaries;i.erase!;};m.commit_operation
              

              Thank you very-very much TIG! it works perfect also with imported 3ds objects. πŸŽ‰

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

                Hi thomthom.

                Your conversion tool changes all groups in the selection to components, one component for each group where the group's name is transferred to the component's definition's name.

                Please, do you know about some plugin which changes all groups in the selection to a single component (the groups should be a copy of a single group), so you obtain one component for each group, where the component definition name of each component is the same?

                People often forget to make a component instead of a group, so if you repeat a group, and then you rotate or move that group to diferent places many times, it would be hard to make a component and then repeat it, rotate or move it many times again. A tool to convert those groups to one component would allow you to go on with your job.

                Thank's

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

                  If the group haven't been modified (or even opened) then Selection Toys can convert such groups to components. But if the user has performed any kind of action that makes SU kick in the make-unique then it won't be able to detect that.
                  You can force replace with Component Replacer, but you need to pick out which ones to replace with what.


                  2015-03-11_18h28_06.png

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

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rv1974
                    last edited by

                    Thomthom, may I request this tool to keep the object(s) selected after conversion?

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      YCL furniture
                      last edited by

                      Hello, Thom
                      maybe have any plugin to convert components to groups? without losing the component name

                      1 Reply Last reply Reply Quote 0
                      • Dave RD Offline
                        Dave R
                        last edited by

                        @ycl furniture said:

                        Hello, Thom
                        maybe have any plugin to convert components to groups? without losing the component name

                        Why convert components to groups?

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • Y Offline
                          YCL furniture
                          last edited by

                          @dave r said:

                          @ycl furniture said:

                          Hello, Thom
                          maybe have any plugin to convert components to groups? without losing the component name

                          Why convert components to groups?

                          Because I design furniture with components. After designing the furniture, I use the ABF solutions plugin to make report list of furniture panels cutting and edges bandings. This plugin only works with groups.
                          Maybe you know of another plugin that make report list of furniture panels and edges banding?
                          I made a video where I showed what features I need (https://www.youtube.com/watch?v=85djT5KbnZw)

                          1 Reply Last reply Reply Quote 0
                          • Dave RD Offline
                            Dave R
                            last edited by

                            You are using SketchUp 2016 Make for your business?

                            There are numerous cutlist extensions that work with components.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • Y Offline
                              YCL furniture
                              last edited by

                              @dave r said:

                              You are using SketchUp 2016 Make for your business?

                              There are numerous cutlist extensions that work with components.

                              There are many extensions that calculate report list of furniture panels cuttings. But none of them count the edges banding

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                fortyonethirty
                                last edited by

                                Thanks! πŸ‘

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

                                  I was looking to convert groups into components and found this plugin. It is supposed to show up in a plugin tab. However, there is no Plugin tab anymore.

                                  How to access the function on SU 2023?

                                  (my use case is exporting parts of the SU model for Lumion phasing animation. For this every part has to be saved separately. There is a plugin that does export every component. however, the groups will not export. So I was looking for ways to convert the groups to components, so I can export it all into Lumion)

                                  Thank you.

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by

                                    @dennis_n said:

                                    However, there is no Plugin tab anymore.

                                    I assume you mean Plugins menu. That was replaced with Extensions some time ago.

                                    @dennis_n said:

                                    How to access the function on SU 2023?

                                    I just installed this extension in SketchUp 2023. It shows up in the Extensions menu as it should and works just fine.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by TIG

                                      Dave R beat me to the post !
                                      The menu tab 'Plugins' was renamed 'Extensions' looong ago...
                                      Did you look there ?

                                      TIG

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

                                        Hi,

                                        You can also take a look at this post: https://sketchucation.com/plugin/2667-componentsplus
                                        There is a command in this plugin to export all groups as components in one go.
                                        Regards,

                                        DB

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

                                        Advertisement