sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [REQ] find similar groups and create components

    Scheduled Pinned Locked Moved Plugins
    26 Posts 6 Posters 1.0k Views 6 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      That may be... but 'group.definition' does need to be created somewhere...
      PM TT... ๐Ÿ˜•

      TIG

      1 Reply Last reply Reply Quote 0
      • soloS Offline
        solo
        last edited by

        Okay, I downloaded the window model from the thread where the plugin exists and ran the test and it worked exactly as it should, so this means my instalation and all needed files are in order.

        I then created a new scene and made a cube, grouped it and created 20 instances of it then ran the script which did nothing....is it me not understanding what this script should do or is something funny going on?

        http://www.solos-art.com

        If you see a toilet in your dreams do not use it.

        1 Reply Last reply Reply Quote 0
        • gillesG Offline
          gilles
          last edited by

          @unknownuser said:

          I then created a new scene and made a cube, grouped it and created 20 instances of it then ran the script which did nothing....is it me not understanding what this script should do or is something funny going on

          If you make on them different ( explode then group or better make component ) it should work.

          if you have 1 group + 20 instances of it they all have the same definition, so there is nothing to change.
          .... I think; โ“

          " c'est curieux chez les marins ce besoin de faire des phrases "

          1 Reply Last reply Reply Quote 0
          • soloS Offline
            solo
            last edited by

            Take this example, I have 8 tubes (grey) and 16 rings (red) they are all groups, what I'd like to happen is for a script to see that there are 8 identical tubes and 16 identical rings and it then makes a component from one of the tubes, delete or changes the others to be an instance of the first component, same for rings.


            understanding.jpg

            http://www.solos-art.com

            If you see a toilet in your dreams do not use it.

            1 Reply Last reply Reply Quote 0
            • W Offline
              wyatt
              last edited by

              Pete,
              Have you tried Convert in Single Components from Component/Group Tools http://forums.sketchucation.com/viewtopic.php?f=180&t=17590&start=0&st=0&sk=t&sd=a? This converts everything in the selection set into a component. Sometimes it doesn't work, but rerun and if it's successful a dialog will appear.

              Then run Component Comparison by Thom Thom and it should replace everything that is identical. CC only works on components, hence the first step. If any geometry was skewed in the import process, then it probably won't replace them, but it might help cut down on the # of entities you have to deal with.

              1 Reply Last reply Reply Quote 0
              • gillesG Offline
                gilles
                last edited by

                Selection tools does it to.
                http://forums.sketchucation.com/viewtopic.php?t=14975#p114380

                select groups

                right click context menu/group copies/convert into component

                If groups were copies you will have one component + n instances.

                edit:
                if groups are copies,

                right click context menu/group copies/select all

                right click context menu/group copies/convert into component.

                " c'est curieux chez les marins ce besoin de faire des phrases "

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

                Advertisement