Is there a simple way to turn all of the active morph channels to 0.0? Like the "zero active channels button" but using maxscript?
Forum topic · General Scripting
Morpher - zero active channel values?
By JP356 · 2018-01-30
Description
Comments (1)
Hi, try this
ZalitZ · 2018-02-05
fn morpherCheckTargets obj = (
nbMorphers = #()
for i=1 to 100 do (
if (WM3_MC_HasTarget obj.morpher i) == true do append nbMorphers i
)
nbMorphers
)
fn ZeroActiveChannelsValues obj = (
for i in (morpherCheckTargets obj) do (
WM3_MC_SetValue obj.morpher i 0.0
)
)
ZeroActiveChannelsValues $