[Plugin] GlobalMaterialChange v1.4 20110525
-
This script globally changes materials in model or a selection.
Global_Material_Change.rbGet the latest version from the PluginStore http://sketchucation.com/pluginstore?pln=Global_Material_Change
-
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.
-
@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...
-
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.
-
@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'...
.
-
very useful plugin, tig, many thanks man!!
-
This ruby is exactly what I was after.
Many thanks Tig
-
Thanks TIG. Very handy plugin.
-
Very useful tool!!! thank You!
-
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.
-
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
-
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'...
-
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?
-
@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. -
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.
-
Thanks for the very useful tool!!
-
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]... -
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. -
Also look for MaterialConsolidator and similar tools...
-
@tig said:
Also look for MaterialConsolidator and similar tools...
yes, of course. certainly. thank you
Advertisement