Hi
I have this simple script i wrote which works great for me (below)
If i change the model i need to work my way up the stack manually clicking on the "select" within mesh select modifier just to apply all the uvws.
Is there a script out there that would automatically work its way up the stack with one click? hopefully this is clear, Thanks for your help
(
tMod1 = Mesh_Select()
tMod1.name = "Mesh_Select_id1_Roof"
addModifier $ tMod1
$.modifiers[#Mesh_Select_id1_Roof].materialID = 1
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].axis = 2
$.modifiers[#UVW_Map].length = 9
$.modifiers[#UVW_Map].width = 9
tMod2 = Mesh_Select()
tMod2.name = "Mesh_Select_id2_front"
addModifier $ tMod2
$.modifiers[#Mesh_Select_id2_front].materialID = 2
$.modifiers[#Mesh_Select_id2_front].enabled = false
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].axis = 1
$.modifiers[#UVW_Map].enabled = false
tMod3 = Mesh_Select()
tMod3.name = "Mesh_Select_id3"
addModifier $ tMod3
$.modifiers[#Mesh_Select_id3].materialID = 3
$.modifiers[#Mesh_Select_id3].enabled = false
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].axis = 1
$.modifiers[#UVW_Map].enabled = false
tMod4 = Mesh_Select()
tMod4.name = "Mesh_Select_id4"
addModifier $ tMod4
$.modifiers[#Mesh_Select_id4].materialID = 4
$.modifiers[#Mesh_Select_id4].enabled = false
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].axis = 1
$.modifiers[#UVW_Map].enabled = false
tMod5 = Mesh_Select()
tMod5.name = "Mesh_Select_id5"
addModifier $ tMod5
$.modifiers[#Mesh_Select_id5].materialID = 5
$.modifiers[#Mesh_Select_id5].enabled = false
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].axis = 1
$.modifiers[#UVW_Map].enabled = false
tMod6 = Mesh_Select()
tMod6.name = "Mesh_Select_id6"
addModifier $ tMod6
$.modifiers[#Mesh_Select_id6].materialID = 6
$.modifiers[#Mesh_Select_id6].enabled = false
modPanel.addModToSelection (Uvwmap ()) ui:on
$.modifiers[#UVW_Map].axis = 1
$.modifiers[#UVW_Map].enabled = false
)