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

    Component Match Plugin possible?

    Scheduled Pinned Locked Moved Plugins
    15 Posts 5 Posters 243 Views 5 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
      jpalm32
      last edited by

      @mitcorb said:

      Do you You imply they are all identical? Or do you mean make all of those components members of one component without converting--as in nested components/groups?

      It seems that there is a script for the first question, but I do not have it at hand. As for the second possibility, would that be a matter of selecting all of those pilings, CtrlX, open prime component, Edit>Paste in Place? They are then contained in the "master component".

      I may go looking for the name of the first possibility, if it exists.

      I mean to convert a bunch of components into instances of one chosen component?

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        Hi, John:
        I saw your reply. I could not find anything in the [Plugins]Repository here. I thought TIG had done something along those lines. Seems that a script could be done to reassign a name to make each an instance of the main component.

        I take the slow, deliberate approach in my aimless wandering.

        1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box
          last edited by

          Simply select all the ones you want to replace, then in the component browser right click on the one you want to replace them with and select, Replace selected.

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

            @mitcorb said:

            Hi, John:
            I saw your reply. I could not find anything in the [Plugins]Repository here. I thought TIG had done something along those lines. Seems that a script could be done to reassign a name to make each an instance of the main component.

            Thanks for the try.

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

              @box said:

              Simply select all the ones you want to replace, then in the component browser right click on the one you want to replace them with and select, Replace selected.

              If it's that simple I'm going to bang my head on my keyboard.!
              I've replaced components before like this.
              Going to give it a try.

              😳 😳 Bang! Bang! Can't believe I was that stupid.
              I can't believe I deleted and copied them all.
              There were so many, I guess I went blank.
              I was used to replacing one type of component for another (one for one)
              Never thought to replace one for many.
              Thanks for the help.

              1 Reply Last reply Reply Quote 0
              • olisheaO Offline
                olishea
                last edited by

                good tip very helpful for some obj imports. 👍

                oli

                1 Reply Last reply Reply Quote 0
                • mitcorbM Offline
                  mitcorb
                  last edited by

                  Well John, I'll see your 😳 😳 and raise you two more for me. (i gotta go back to school) 😆

                  I take the slow, deliberate approach in my aimless wandering.

                  1 Reply Last reply Reply Quote 0
                  • BoxB Offline
                    Box
                    last edited by

                    To be honest, that was my answer when I read your post before anyone had replied, but I thought it was too simple and I must have been reading your question wrong so I didn't suggest it.

                    I use this all the time. I draw a lot of things with many highly detailed components so I "construct" the drawing using simple versions of each. This way nothing slows down because of too much geometry etc, then when I'm ready I just replace the relevant ones. You do know you can "select instances" in the component browser and replace them all in a click. Also if they are all over the place with different names and hard to manually select you can select them via the outliner window then replace them from the component browser. Or if they are all on a separate layer..........I think you get my drift

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

                      @box said:

                      To be honest, that was my answer when I read your post before anyone had replied, but I thought it was too simple and I must have been reading your question wrong so I didn't suggest it.

                      I use this all the time. I draw a lot of things with many highly detailed components so I "construct" the drawing using simple versions of each. This way nothing slows down because of too much geometry etc, then when I'm ready I just replace the relevant ones. You do know you can "select instances" in the component browser and replace them all in a click. Also if they are all over the place with different names and hard to manually select you can select them via the outliner window then replace them from the component browser. Or if they are all on a separate layer..........I think you get my drift

                      The more I learn, the more I forget. I guess it's age.
                      Strange, I can go back to AutoCad, after a while and little by little everything starts coming back.
                      It seems I never retain much of the some rarely used features for long in SU.
                      It's always Duh! Duh!

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

                        I was working on a plugin that would detect geometric similarities between groups/components and make them use the same definition. Unfortunately I've not gotten around to completing it.

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

                          @thomthom said:

                          I was working on a plugin that would detect geometric similarities between groups/components and make them use the same definition. Unfortunately I've not gotten around to completing it.

                          Do you ever sleep??

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

                            Unfortunately, yes.

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

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

                              Experiment is here btw: http://sketchucation.com/forums/viewtopic.php?t=30143

                              Problem is that in order to make it work with nested groups/components I need to make some big refactoring.

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

                              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