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!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Convert all groups to components

    Scheduled Pinned Locked Moved Plugins
    6 Posts 3 Posters 658 Views 3 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.
    • J Offline
      j40
      last edited by j40

      Hi, I've been looking for a plugin that can Convert all groups in model to components. Is there plugin that can do this?
      also, is there plugin that can extract all nested groups/components to individual objects (group/components)?

      Top3D Studio

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

        Sketchup.active_model.definitions.each{|d|if d.group?;d.instances.each{|i|i.to_component};end;}

        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
          j40
          last edited by

          excuse me for my ignorance but what do i do with this code? paste it in to the ruby console and that's it?

          also I added to the question another Q:
          @unknownuser said:

          is there plugin that can extract all nested groups/components to individual objects (group/components)?
          , thanks Thom

          Top3D Studio

          1 Reply Last reply Reply Quote 0
          • david_hD Offline
            david_h
            last edited by

            Check out this thread. You will see me prominently featured πŸ’š Because I had this very same question!

            Groups into Components

            If I make it look easy...It is probably easy

            1 Reply Last reply Reply Quote 0
            • J Offline
              j40
              last edited by

              Thanks David.
              Do you know a plugin that can extract all nested groups/components to individual objects (group/components)?

              Top3D Studio

              1 Reply Last reply Reply Quote 0
              • david_hD Offline
                david_h
                last edited by

                uh . . .no. I guess that would be "Explode"

                I am not by any means a plugin guru. I just have about 500 of them on my machine __(see topic "how many plugins is too many?" πŸ’š )

                I am sure there is something that does what you are talking about. seems to me there was a recent post that listed all of the plugins and their authors with all the links to all their little toys but danged if I can remember what is was titled, and I can't find it.

                If I make it look easy...It is probably easy

                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