• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] GlobalMaterialChange v1.4 20110525

Scheduled Pinned Locked Moved Plugins
32 Posts 17 Posters 35.3k Views
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.
  • T Offline
    TIG Moderator
    last edited by TIG 5 Oct 2008, 19:51

    This script globally changes materials in model or a selection.
    Global_Material_Change.rbPayPalButton

    Get the latest version from the PluginStore http://sketchucation.com/pluginstore?pln=Global_Material_Change

    TIG

    1 Reply Last reply Reply Quote 0
    • F Offline
      free agent
      last edited by 5 Oct 2008, 20:37

      hi TIG very handy ruby thank you, in testing i noticed it wont change a material that has been applied to a back face to another material, however changing "ALL" materials does.

      http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 6 Oct 2008, 13:50

        @unknownuser said:

        hi TIG very handy ruby thank you, in testing i noticed it wont change a material that has been applied to a back face to another material, however changing "ALL" materials does.

        There are so many permutations - I missed one. I fixed it... See the original post at the start to get the updated version...

        TIG

        1 Reply Last reply Reply Quote 0
        • F Offline
          free agent
          last edited by 6 Oct 2008, 18:19

          hey TIG me again i can see myself using this tool ALOT i like that u can change the front and backs and what not of materials from the outside of groups however it seems its too strong on the "global" side as i select one group and all groups change. the selection part of the script only seems to work on open geometry.

          http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 6 Oct 2008, 19:23

            @unknownuser said:

            hey TIG me again i can see myself using this tool ALOT i like that u can change the front and backs and what not of materials from the outside of groups however it seems its too strong on the "global" side as i select one group and all groups change. the selection part of the script only seems to work on open geometry.

            Are you sure you mean 'Groups'. It will change all selected (similar) Components as it applies to the definition rather than the instance. It should only change selected Groups as they are all 'unique'...

            .

            TIG

            1 Reply Last reply Reply Quote 0
            • C Offline
              caddict
              last edited by 9 Apr 2009, 01:12

              very useful plugin, tig, many thanks man!!

              1 Reply Last reply Reply Quote 0
              • K Offline
                kevsterman
                last edited by 14 Apr 2009, 13:58

                This ruby is exactly what I was after.

                Many thanks Tig πŸ‘

                "Avoid keeping more than 3 items on your desk that you can't fit into your mouth."

                1 Reply Last reply Reply Quote 0
                • J Offline
                  j40
                  last edited by 28 Sept 2009, 16:53

                  Thanks TIG. Very handy plugin.

                  Top3D Studio

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    numerobis
                    last edited by 4 Oct 2009, 14:24

                    Very useful tool!!! thank You! 😎

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JClements
                      last edited by 4 Oct 2009, 14:49

                      Excellent!

                      Something like this has been on my wishlist for quite a while. I have tons of nested groups in my models and I initially color code geometry by their structure or mechanical function as I develop a model. The colors are bright and contrasting to make identification and discussion of the model with colleagues or clients (especially those in remote locations) easier; however, for final rendering the colors are usually changed; that is drudgery.

                      This script will allow me to use colors in a manor more like styles. If I prefix a functional discription to the color name at the start of making a model, then that will make the script even easier to use.

                      John | Illustrator | Beaverton, Oregon

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        AcesHigh
                        last edited by 10 Dec 2009, 13:15

                        TIG, very nice plugin... I was just needing it.

                        Some suggestions... I have a LOT of materials. When the list of materials appear (when selecting one with your plugin) the list doesnt fit on the screen... and there is no option to scroll up or down... nor to see the materials.

                        I wonder if you could make it just like the materials screen... where you can SEE the materials, and also scroll up and down the list.

                        If thats not possible, would it be possible to be able to use the eyedropper tool while in your plugin? So I can just select the materials (the one replaced and the one that will replace) instead of having to remember the name of each material.

                        thanks

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 10 Dec 2009, 14:51

                          This tools uses the standard input-box. It would need to be rewritten with a web-dialog - which is at the end of a v_e_r_y long list... as is any 'eye-dropper' solution...
                          Foe any standard input-box, to get at things not shown on screen, type the first letter of the material, e.g. w and the list will jump to the first item starting with w, e.g. 'Wheat', then use the up/down arrows to move to the required material e.g. 'WhiteStuff'... best fix currently available, sorry - but it is 'free'...
                          πŸ€“

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            ledisnomad
                            last edited by 1 Jun 2010, 19:39

                            I know this is an old thread, but I wanted to bring it back... I work on a team and our models get messy. We work on individual pieces, then reload the component in a base model. Even if materials are named the same thing, we get duplicates. After awhile, nobody knows what is what.

                            The GlobalMaterialChange script works well to a certain point, but with our heavy model, doing a single swap can take 5 minutes. With over 70 materials, that's half a day's work. Anybody have a way to do this in batches? We could just delete all the materials and start again, but that's not a viable, reusable solution.

                            Any thoughts?

                            1 Reply Last reply Reply Quote 0
                            • bagateloB Offline
                              bagatelo
                              last edited by 1 Jun 2010, 21:27

                              @ledisnomad said:

                              I know this is an old thread, but I wanted to bring it back... I work on a team and our models get messy. We work on individual pieces, then reload the component in a base model. Even if materials are named the same thing, we get duplicates. After awhile, nobody knows what is what.

                              The GlobalMaterialChange script works well to a certain point, but with our heavy model, doing a single swap can take 5 minutes. With over 70 materials, that's half a day's work. Anybody have a way to do this in batches? We could just delete all the materials and start again, but that's not a viable, reusable solution.

                              Any thoughts?

                              I think this is very useful:
                              http://forums.sketchucation.com/viewtopic.php?f=323&t=26013
                              If someone can consider my suggestion in last thread can be very better.

                              While the cat's away, the mice will play

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dlong
                                last edited by 9 Feb 2011, 20:56

                                I can't tell who impresses me more: Google for letting the free Sketchup use these Ruby scripts, or TIG for coming up with EXACTLY what I needed for today. Thank you a million for a script that works exactly as advertised.

                                I'm on a Mac and running the just-released 8.0.4810 and this script made it a snap to swap out a material. Thanks again.

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jster
                                  last edited by 6 Apr 2011, 16:03

                                  Thanks for the very useful tool!!

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 27 May 2011, 16:12

                                    Here's an update http://forums.sketchucation.com/viewtopic.php?p=96863#p96863
                                    If you run it without anything selected it will now change the materials of everything in the model, including inside ALL groups or definitions - even if they are unused [i.e no instances placed]...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • irwanwrI Offline
                                      irwanwr
                                      last edited by 30 Nov 2011, 20:33

                                      i just downloaded this plugin. i hope i know how to use it.
                                      thank you very much for this one. i've been looking for something like this quite a while.
                                      it might help me reduce file size significantly to save. πŸ‘

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 30 Nov 2011, 23:17

                                        Also look for MaterialConsolidator and similar tools... πŸ˜‰

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • irwanwrI Offline
                                          irwanwr
                                          last edited by 1 Dec 2011, 19:18

                                          @tig said:

                                          Also look for MaterialConsolidator and similar tools... πŸ˜‰

                                          yes, of course. certainly. thank you πŸ˜„

                                          1 Reply Last reply Reply Quote 0
                                          • 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