sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Plugin] GlobalMaterialChange v1.4 20110525

    Scheduled Pinned Locked Moved Plugins
    32 Posts 17 Posters 35.3k Views 17 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.
    • TIGT Offline
      TIG Moderator
      last edited by TIG

      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
      • free agentF Offline
        free agent
        last edited by

        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.comalbumsu143FreeAgent84bug.gif

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

          @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
          • free agentF Offline
            free agent
            last edited by

            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.comalbumsu143FreeAgent84bug.gif

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

              @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

                very useful plugin, tig, many thanks man!!

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kevsterman
                  last edited by

                  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

                    Thanks TIG. Very handy plugin.

                    Top3D Studio

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      numerobis
                      last edited by

                      Very useful tool!!! thank You! 😎

                      1 Reply Last reply Reply Quote 0
                      • JClementsJ Offline
                        JClements
                        last edited by

                        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

                          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
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            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

                              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

                                @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

                                  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

                                    Thanks for the very useful tool!!

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

                                      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

                                        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
                                        • TIGT Offline
                                          TIG Moderator
                                          last edited by

                                          Also look for MaterialConsolidator and similar tools... 😉

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • irwanwrI Offline
                                            irwanwr
                                            last edited by

                                            @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