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

Component Match Plugin possible?

Scheduled Pinned Locked Moved Plugins
15 Posts 5 Posters 227 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 25 May 2013, 22:30

    I'm going to try to explain.
    I imported some largre 3DS or OBJ files.
    One had 35 identical light fixtures but all separate components. (all axes identical also)
    Another had 100 identical Pier pilings all separate componets.
    Is there a way to pick one as a "Master", choose all others and make one component out 1t?
    Now I choose one, mark a location on the others with line, delete them..and copy the chosen one to all the locations.

    Just asking, seems very complex to do but would reduce work/rendering times.

    1 Reply Last reply Reply Quote 0
    • M Offline
      mitcorb
      last edited by 25 May 2013, 22:42

      Do you mean to convert a bunch of components into instances of one chosen component? 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 take the slow, deliberate approach in my aimless wandering.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jpalm32
        last edited by 25 May 2013, 22:51

        @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
        • M Offline
          mitcorb
          last edited by 25 May 2013, 23:04

          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
          • B Offline
            Box
            last edited by 25 May 2013, 23:05

            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 26 May 2013, 01:04

              @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 26 May 2013, 01:05

                @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
                • O Offline
                  olishea
                  last edited by 26 May 2013, 01:47

                  good tip very helpful for some obj imports. πŸ‘

                  oli

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mitcorb
                    last edited by 26 May 2013, 03:22

                    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
                    • B Offline
                      Box
                      last edited by 26 May 2013, 12:15

                      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 26 May 2013, 13:09

                        @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 26 May 2013, 15:59

                          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 26 May 2013, 16:02

                            @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 26 May 2013, 16:09

                              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 26 May 2013, 16:11

                                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
                                1 / 1
                                • First post
                                  1/15
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement