Notifications
Clear all
[Closed] "setVC" problem
Aug 27, 2008 3:14 am
Hi,I got some confusing with this
box name:"box"
Addmodifier $box (Unwrap_UVW name:"ColorBaker" )
$box.modifiers[#ColorBaker].setVC true
—–this create a box ,and then add Unwrap_UVW modifier, at last set channel to vertex color channel
the “$box.modifiers[#ColorBaker].setVC true ” doesn’t work in this situation But “$box.modifiers[#ColorBaker].setmapchannel 4 ” work well
Only if “$box” is existed first and then “$box.modifiers[#ColorBaker].setVC true” work fine
i hope i had describe my question clearly, sorry for my poor english
3 Replies
Aug 27, 2008 3:14 am
try assigning your object to a variable as you create it
myBox = box name:"box"
Addmodifier myBox (Unwrap_UVW name:"ColorBaker" )
myBox.modifiers[#ColorBaker].setVC true