sketchucation logo sketchucation
    • Login
    βŒ› Sale Ending | 30% Off Profile Builder 4 ends 30th September

    Global Texture Replace

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    15 Posts 8 Posters 2.3k Views 8 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.
    • GaieusG Offline
      Gaieus
      last edited by

      If you are using components, just edit ONE with the blue glass and paint the blue glass with the grey colour you used in the other components. All component instances will be changed accordingly.

      Gai...

      1 Reply Last reply Reply Quote 0
      • plot-parisP Offline
        plot-paris
        last edited by

        or just use the "match colour on screen" or "match colour of object in model" method with the texture to change selected (you gave me that tip once, Gaieus πŸ˜„ )

        on the other hand - you then still have two different colours (that look alike) πŸ˜’

        1 Reply Last reply Reply Quote 0
        • S Offline
          SAB
          last edited by

          I am trying to simplify a very crowded colour palette so I can export and render more easily. There are 150 materials in the file, over 400 component definitions and 250 odd groups, it's a big project. Many of the components are from other projects and have different colours basically for the same thing: window componets with 6 different coulours of glass every tree component has a 2 different colours of green etc. I would like to be able to select a material in an object or on the palette and be able to replace that material in all objects to which it is applied in the project: grouped objects objects in components, everywhere it occurs. Many of the materials I can't even find when I look through the geometry.

          1 Reply Last reply Reply Quote 0
          • RichardR Offline
            Richard
            last edited by

            @sab said:

            I am trying to simplify a very crowded colour palette so I can export and render more easily. There are 150 materials in the file, over 400 component definitions and 250 odd groups, it's a big project. Many of the components are from other projects and have different colours basically for the same thing: window componets with 6 different coulours of glass every tree component has a 2 different colours of green etc. I would like to be able to select a material in an object or on the palette and be able to replace that material in all objects to which it is applied in the project: grouped objects objects in components, everywhere it occurs. Many of the materials I can't even find when I look through the geometry.

            It has been on my wish list for some time to be able to do this through the material editor! Similarly I would like the option upon importing a new component where similarly named materials are present to be asked "A material GREEN FLOOR TILE already exists in the model, do you wish to:

            A. Rename the new material,
            B. Replace the new material with the existing one,
            C. Replace the existing material with the new one,
            D. Take a coffee break and think about this for a while? πŸ˜„

            When importing numerous components that contain say "Furniture Chrome" as i often do I can end up with numerous materials named Furniture Chrome1...8 - frustrating!

            The other functionality I would like to see implemented is the option when deleting a material from the material editor is to be able to select the material to be used instead of applying just the default as only allowed now!

            [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

            1 Reply Last reply Reply Quote 0
            • A Offline
              anglaret
              last edited by

              choose a new material, press maj and click on the color to change, that changes all similar colors

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                This script [http://www.sketchucation.com/forums/scf/viewtopic.php?p=63629#p63629 : Global_Material_Change.rb] probably does what you want... BUT there are several built in ways to do this too - like renaming and changing a material's setting so everything using that is changed.

                This script works on a selection [or if there is no selection it uses all active entities]...

                You can choose any material that's loaded in the model and also choose <Default>, or << ALL >> which will change all materials in the selection to the new one - that's useful if you want to remove all materials from something and go to say the <Default> material...

                .

                TIG

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SAB
                  last edited by

                  Thanks TIG,
                  This helped a lot. I still have some issues though and I've sent a PM with a couple of questions.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    SAB
                    last edited by

                    Richard,
                    I'm with you on your wish list item, either as a part of sketchup or as part of a script that could intercept a model being inserted and execute an action like TIG's script above.

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      Here's v1.1 of Global_Material_Change

                      301 Moved Permanently

                      favicon

                      (www.sketchucation.com)

                      .

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • plot-parisP Offline
                        plot-paris
                        last edited by

                        I am a great fan of drag-and-drop actions (even if I am no mac fan πŸ˜† ).

                        a cool option would be just to drag a material and drop it onto another, which brings up a prompt if you want to replace the material with the dropped one...

                        cool, isn't it?

                        1 Reply Last reply Reply Quote 0
                        • RichardR Offline
                          Richard
                          last edited by

                          @plot-paris said:

                          I am a great fan of drag-and-drop actions (even if I am no mac fan πŸ˜† ).

                          a cool option would be just to drag a material and drop it onto another, which brings up a prompt if you want to replace the material with the dropped one...

                          cool, isn't it?

                          Very!

                          [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                          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