sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    Componnent Replacer

    Scheduled Pinned Locked Moved Plugins
    25 Posts 4 Posters 3.0k 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
      ericschimel
      last edited by

      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
      • thomthomT
        thomthom
        last edited by

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

          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
          • thomthomT
            thomthom
            last edited by

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

              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
              • thomthomT
                thomthom
                last edited by

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

                  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
                  • thomthomT
                    thomthom
                    last edited by

                    @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
                      ericschimel
                      last edited by

                      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
                      • thomthomT
                        thomthom
                        last edited by

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

                          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
                          • thomthomT
                            thomthom
                            last edited by

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

                              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
                              • thomthomT
                                thomthom
                                last edited by

                                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
                                • thomthomT
                                  thomthom
                                  last edited by

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

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

                                      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
                                      • bmikeB
                                        bmike
                                        last edited by

                                        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
                                        • thomthomT
                                          thomthom
                                          last edited by

                                          404 Not Found

                                          favicon

                                          (forums.sketchucation.com)

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

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • E
                                            ericschimel
                                            last edited by

                                            I am getting this:
                                            TT.PNG

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

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement