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

    [REQ] components to groups script

    Scheduled Pinned Locked Moved Plugins
    10 Posts 4 Posters 1.1k Views 4 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.
    • halroachH Offline
      halroach
      last edited by

      Is there a way to convert a bunch of components into separate groups?
      I know you can convert a group into a component but can you do it the other way around?

      like for example if I have a bunch of nested components and I don't want to click through each one to make them all unique, and I don't wish to explode the hierarchy. I just want to make them all unique and not have to worry about changes I make to each one, that might effect the same object I had long ago copied on on the other side of my model...

      Thanks

      FlexTools - Super Quick Windows, Doors, Slats...

      1 Reply Last reply Reply Quote 0
      • E Offline
        Ecuadorian
        last edited by

        1. Double-click on any instance of the component to edit it.

        2. Select everything inside that component with Ctrl+A

        3. Right click > Make group, and close the component

        4. Select all the instances you want to convert to groups. There is a free script to help you with this:
          http://www.smustard.com/script/Instances

        5. Right click > Explode.

        Now they're groups, and you can freely change any of them without affecting the others.

        -Miguel Lescano
        Subscribe to my house plans YouTube channel! (30K+ subs)

        1 Reply Last reply Reply Quote 0
        • halroachH Offline
          halroach
          last edited by

          @ecuadorian said:

          1. Double-click on any instance of the component to edit it.

          2. Select everything inside that component with Ctrl+A

          3. Right click > Make group, and close the component

          4. Select all the instances you want to convert to groups. There is a free script to help you with this:
            http://www.smustard.com/script/Instances

          5. Right click > Explode.

          Now they're groups, and you can freely change any of them without affecting the others.

          Thank You. That is a good way to convert a bunch of components which have no nested components within them. I for example, have a component with with a complex hierarchy of 10 steps of nested components. one within the other within the other... n times. And I'd like to convert allof the components and nested components into groups without the need to do the 5 steps you mentioned, cause that would require hundreds of double clicks and quite a health hazard if you know what I mean.

          What I'm looking for is a command that would in one click convert the selected component into a group with the option of converting all of the nested components into groups or leaving them as they are.

          FlexTools - Super Quick Windows, Doors, Slats...

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            You would even like the main outer component to become a group? Seems like it makes more sense to just leave it as a component and convert everything inside to groups.

            I have to admit, I'm curious what this script is for? Have you made a bunch of components made of tons of components and you are finding it hard to edit them because it changes all other component instances?

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • E Offline
              Ecuadorian
              last edited by

              Is it my idea or did Matt666 answer the OP's request right away?
              http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17590

              -Miguel Lescano
              Subscribe to my house plans YouTube channel! (30K+ subs)

              1 Reply Last reply Reply Quote 0
              • halroachH Offline
                halroach
                last edited by

                @chris fullmer said:

                You would even like the main outer component to become a group? Seems like it makes more sense to just leave it as a component and convert everything inside to groups.

                I have to admit, I'm curious what this script is for? Have you made a bunch of components made of tons of components and you are finding it hard to edit them because it changes all other component instances?

                Chris

                The idea is to select any component or group of components, if they are nested, or not, (which ever which way you choose) and to have the option to convert it/them into groups.

                Yeah, I have made a bunch of components made of tons of others and it does become quite hard to edit them. When you least expect it, you suddenly reach a point where you've lost track of which component is duplicated where and what will happen when you change it.

                When I start off with a small amount of components it's very ideal and efficient working with them. It's more efficient than groups, because making them unique is a type of group in itself. And components are far superior when it gets to changing a set of stairs, or for applying materials for working with Maxwell Render.

                What happens is that after a while I find that I need some of the components which I have duplicated all over the place to be very singular... for example a desk made of many nested components, which has been copied all around a building. And then you want to change just one of them to fit a corner. So I start double clicking each component through and through to make each one of them or group of them unique. Not always sure how many components there are and how many click ins I should click... And most of the time I don't even want to know how many components there are. Exploding isn't an option cause I might want to change that desk to fit another corner... It becomes quite difficult and inefficient. A single click with a simple script could do the job... Just like you can convert a group to a component it should be reversible.

                i'll check out that script from Matt666. That might do the job!

                FlexTools - Super Quick Windows, Doors, Slats...

                1 Reply Last reply Reply Quote 0
                • halroachH Offline
                  halroach
                  last edited by

                  Thank you Ecuadorian for pointing out Matt666's plugin.
                  It pretty much does the job. It doesn't deal with nested components. But it definitely saves you from doing the 5 steps you mentioned...
                  cool!

                  FlexTools - Super Quick Windows, Doors, Slats...

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    It might be speedy to open the outliner and use it to quickly select nested components there. Assign a shortcut key to the script also. Then just selecte the components in outliner, hit the shortcut key to start the plung. Repeat.

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • halroachH Offline
                      halroach
                      last edited by

                      That's an option too.
                      Thank you Chris

                      FlexTools - Super Quick Windows, Doors, Slats...

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Matt666
                        last edited by

                        See http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=10555 please... I've made this plugin on a similar request... But there is a SU bug on creating groups inside a component...

                        Frenglish at its best !
                        My scripts

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

                        Advertisement