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

Explode groups

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
7 Posts 3 Posters 1.3k Views
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.
  • K Offline
    koliboti
    last edited by 10 Nov 2017, 06:30

    Hi SketchUPers πŸ˜‰

    I am looking for a plugin that can explode groups inside groups.
    For example: I am want to expload all groups (A,B,C) inside groups X1,X2,X3,...


    Groups.jpg


    GroupsRes.jpg

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 10 Nov 2017, 13:50

      Did you try searching the Plugin Store? TIG's Group Exploder would probably do what you need.

      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 13 Nov 2017, 06:58

        Thank you Dave R! But this plugin explodes all the groups... and I want to explode only groups A,B,C and keep X1, X2, ...

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 13 Nov 2017, 12:00

          To explode all groups found inside another group, but ignore those groups located in the model itself or inside components, you can use this one-liner copy+pasted in the Ruby Console + enter...

          m=Sketchup.active_model;m.start_operation('ex',true);m.definitions.find_all{|d|d.group?}.each{|g|next unless g.valid?;g.entities.grep(Sketchup;;Group).each{|e|e.explode}};m.commit_operation
          

          TIG

          1 Reply Last reply Reply Quote 0
          • K Offline
            koliboti
            last edited by 13 Nov 2017, 19:06

            Woow TIG, it is working perfect! πŸ˜„ Thank You Very Much!
            It is hard to explode Components also?

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 13 Nov 2017, 20:05

              @koliboti said:

              Woow TIG, it is working perfect! πŸ˜„ Thank You Very Much!
              It is hard to explode Components also?
              No.
              If you want to ALSO explode components you could make this adjustment ??

              m=Sketchup.active_model;m.start_operation('ex',true);m.definitions.find_all{|d|d.group?}.each{|g|next unless g.valid?;(g.entities.grep(Sketchup;;Group)+(g.entities.grep(Sketchup;;ComponentInstance)).each{|e|e.explode}};m.commit_operation
              

              TIG

              1 Reply Last reply Reply Quote 0
              • K Offline
                koliboti
                last edited by 14 Nov 2017, 17:07

                Thank You Very Much TIG! πŸ˜„

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

                Advertisement