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

Componnent Replacer

Scheduled Pinned Locked Moved Plugins
25 Posts 4 Posters 1.4k Views 4 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.
  • E Offline
    ericschimel
    last edited by 13 Oct 2010, 16:20

    Does anyone know of a plugin that can find all instances of a component, and replace them with a new one of the users choice?

    -Eric
    http://plugin.sketchthis.net
    Sketchup Kitchen Design Plugin
    Custom Models

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 13 Oct 2010, 17:05

      You can use Selection Toys to select all instances in a model (if you Select All instead of Select Active) then you can use the Component Browser to replace them.

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

      1 Reply Last reply Reply Quote 0
      • E Offline
        ericschimel
        last edited by 13 Oct 2010, 17:19

        Here's a tricky one for you, when you have DC, and it resizes a component that is one of its children, it renames if by adding a number after it. For example, if you have a cabinet, and one of its child components is a door, and you have two of the same cabinet, but you have resized it, and the DC resized the doors, you now have "DOOR" and "DOOR#1" for components.

        If I wanted to select all the doors, is there a way that a plugin could select them based on part of the name?

        -Eric
        http://plugin.sketchthis.net
        Sketchup Kitchen Design Plugin
        Custom Models

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 13 Oct 2010, 17:57

          Selection Toys πŸ˜‰

          There's a own sub-menu for DC components.

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

          1 Reply Last reply Reply Quote 0
          • E Offline
            ericschimel
            last edited by 13 Oct 2010, 18:03

            Ok, I'll have to try that one again. The last time I used it, I don't think there was such a feature... But it was a while ago...

            Thanks again Thomthom!

            -Eric
            http://plugin.sketchthis.net
            Sketchup Kitchen Design Plugin
            Custom Models

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 13 Oct 2010, 18:06

              It's one of the very early functions. But it's only available from the context menu.

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

              1 Reply Last reply Reply Quote 0
              • E Offline
                ericschimel
                last edited by 13 Oct 2010, 18:22

                Its not working for me. Remember that the components I am trying to select are children of their parent DC. When the Parent DC changes the children, each child gets a number added to its name, therefore making it a different component in the eyes of Sketchup.

                Is there a way that I can select components with a wildcard? Say "DOOR*" so that all components that start with the name DOOR will be selected, regardless of what follows in their names?

                -Eric
                http://plugin.sketchthis.net
                Sketchup Kitchen Design Plugin
                Custom Models

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 13 Oct 2010, 18:32

                  @unknownuser said:

                  Its not working for me. Remember that the components I am trying to select are children of their parent DC. When the Parent DC changes the children, each child gets a number added to its name, therefore making it a different component in the eyes of Sketchup.

                  Yes - Selection Toys handles this. I reads the attributes of the DC to determine which DC the instances inherit from.
                  dc select.png

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

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    ericschimel
                    last edited by 13 Oct 2010, 18:39

                    Yup, I did that, it doesn't select anything else, either a child, or a parent.

                    These DC's that I use get a name change the second I modify them in any way....

                    So even though I have two DC's that have the same name (Like Single Door Wall Cabinet) they aren't the same component after I changes the DC options for one. They are in my model as separate components, with separate names.

                    When I choose that option in your tool on one of the wall cabinets, it won't select the others.

                    If I have identical copies of DC's (ones that are identical in every way) then I can select both using that method.

                    -Eric
                    http://plugin.sketchthis.net
                    Sketchup Kitchen Design Plugin
                    Custom Models

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 13 Oct 2010, 18:55

                      Can you post a sample model?

                      I'm not seeing any issues selecting DCs of the same type.

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

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        ericschimel
                        last edited by 13 Oct 2010, 19:16

                        There you go, should be pretty self explanatory when you open it.

                        Thanks for looking!


                        Selction Toys Example.skp

                        -Eric
                        http://plugin.sketchthis.net
                        Sketchup Kitchen Design Plugin
                        Custom Models

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 13 Oct 2010, 19:20

                          I have no problems selecting the DC.

                          Are you sure you are not using the "Instances" instead of the "DC Instances" sub menu?
                          Observe my last screenshot.

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

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            ericschimel
                            last edited by 13 Oct 2010, 19:51

                            When I do "Instances" and "Select active" on the two identical pulls, they both get highlight. When I go to "DC instances" and then to "Select Active, it highlights every component and group in the model.

                            In that example I sent you, I want to be able to click on, and select all those pieces of hardware, even though I have changed the options in one of them.

                            -Eric
                            http://plugin.sketchthis.net
                            Sketchup Kitchen Design Plugin
                            Custom Models

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 13 Oct 2010, 20:06

                              ugh... seems to be a bug here...

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

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 13 Oct 2010, 20:15

                                Found the cursed bug! I'd missed an underscore character... 😳

                                I'll upload a patch tomorrow.

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

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  ericschimel
                                  last edited by 13 Oct 2010, 20:36

                                  I am glad it was easy for you, I was just hoping that it wasn't me being stupid!

                                  -Eric
                                  http://plugin.sketchthis.net
                                  Sketchup Kitchen Design Plugin
                                  Custom Models

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    ericschimel
                                    last edited by 14 Oct 2010, 14:14

                                    Let me know when you upload it. I'll be the first to try it out! πŸ˜„

                                    -Eric
                                    http://plugin.sketchthis.net
                                    Sketchup Kitchen Design Plugin
                                    Custom Models

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bmike
                                      last edited by 14 Oct 2010, 14:34

                                      Stumbled on this... sounds like what I need (although I would use it infrequently)!
                                      I'll watch for a bug fix.

                                      Can you post a link back to the original when you have time to get it updated?

                                      mike beganyi design + consulting llc

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 14 Oct 2010, 16:09

                                        http://forums.sketchucation.com/viewtopic.php?f=323&t=14975

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

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          ericschimel
                                          last edited by 14 Oct 2010, 16:21

                                          I am getting this:
                                          TT.PNG

                                          -Eric
                                          http://plugin.sketchthis.net
                                          Sketchup Kitchen Design Plugin
                                          Custom Models

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

                                          Advertisement