Morpher - zero active channel values?

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?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ZalitZ's picture

Hi, try this

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 $

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.