How can you apply the mod individually?
You can select multiple objects and apply a material to them. How ever apply a UVWmap modifier to the same selected objects the mod is applied to the group as a whole not independently.
This applies a cylindrical UVWmap to one object.
macros.run "Modifiers" "UVWmap"
$.modifiers[#UVW_Mapping].maptype = 1
How could you apply the mod to a select group individually?
Comments
Yes But
Tassel - thanks. BTW I loved "Back to the start" Every one go check out tassels website and the short "Back to the start"
Running your script puts uvwmaps on all the selected objects but dose not "Fit" them to the object. I removed the maptype l,h,w but it then put a uvwmap on all selected objects at the size of the whole group.
I looked in maxscript docs for a "Fit" function with no luck.
Wouldn't the dimensions of each selected node need to be found then applied to each of there l,w,h.
$Box01.modifiers[#UVW_Mapping].length = 39.0483
$Box01.modifiers[#UVW_Mapping].width = 83.6749
$Box01.modifiers[#UVW_Mapping].height = 94.8316
I think this is part of the puzzle http://www.scriptspot.com/bobo/mxs9/uvwgizmofit/index.html
Are you out afther something
Are you out afther something like this?
/ Raymond