multiple modifiers on multiple objects
I'm Looking to figure out a way to add a set of modifiers (in this case a UVW Box Map with 1mx1mx1m followed by a material modifier to several selected objects).
It would be super cool to have it applied to a quad menu, but I suppose that should work if you make it a macroscript and then costumize the quads to include the written macroscript.
Tried something like this:
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].maptype = 4
$.modifiers[#UVW_Map].length = 100
$.modifiers[#UVW_Map].width = 100
$.modifiers[#UVW_Map].height = 100
modPanel.addModToSelection (Materialmodifier ()) ui:on
But it only works for individual objects, unfortunately
Thanks for your help, this is my 1st attempt at scripting.