macros.run "Modifiers" "Unwrap_UVW"
$.modifiers[#unwrap_uvw].unwrap2.setFreeFormMode on
$.modifiers[#Unwrap_UVW].texMapList.count = 0
$.modifiers[#Unwrap_UVW].texMapIDList.count = 0
$.modifiers[#Unwrap_UVW].baseMaterial = meditMaterials[1]
$.modifiers[#Unwrap_UVW].texMapList.count = 2
$.modifiers[#Unwrap_UVW].texMapIDList.count = 2
$.modifiers[#Unwrap_UVW].texMapList.count = 3
$.modifiers[#Unwrap_UVW].texMapIDList.count = 3
$.modifiers[#Unwrap_UVW].texMapList[1] = Checker ()
$.modifiers[#Unwrap_UVW].texMapIDList[1] = -1
$.modifiers[#Unwrap_UVW].texMapList[2] = Bitmaptexture fileName:"F:/1/2/3.png"
$.modifiers[#Unwrap_UVW].texMapIDList[2] = -1
$.modifiers[#Unwrap_UVW].texMapList[3] = Bitmaptexture fileName:"F:/1/2/3.png"
$.modifiers[#Unwrap_UVW].texMapIDList[3] = -1
subobjectLevel = 3
$.modifiers[#unwrap_uvw].unwrap.edit ()
$.modifiers[#unwrap_uvw].unwrap.setCurrentMap 2
macros.run "Modifier Stack" "SubObject_3"
--最后一句“自动展开”不能执行,这在手动执行的时候会出现对话框,设置参数,
actionMan.executeAction 2077580866 "40047"