accessing presence of .Bip files in scene Mixer and or Motion Flow Graph

Hi,
We are actually in préproduction and are preparing our scripts for rendering in France, and for not having Max looking for missing .bip files in the Biped Mixer / Biped Motion Flow Graph, we're looking for a way to manage the problem before rendering.

As the animators in Belgium (as last year) will use the Mixer and/or Motion Flow from Biped, and as they will not (always) clean the mixer and MotionFlow Graph, we'll need a script for detecting if in the scene any .bips are still present in the Mixer and or the Motion Flow Graph.
We are searching the code for a couple of hours now in vain,

Any help for the code accessing this information with Maxscript would be gratefully welcome,

I tried and even bought flowers and an Icecream for my PC, but no way, not one line of code.

Dominique Gantois

Comments

Comment viewing options

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

thanks

thanks Anubis,

that's what we did and it seems to work,

Dominique

Anubis's picture

rare info about...

Yeah, its very hard to find even a piece of code about.
Maybe this w'd helps a bit.

biped_ctrl = $bip01.controller -- Biped Body Controller
 
MFlow = biped_ctrl.motionFlow -- get Motion Flow instance
if MFlow.scripts.count > 0 do -- array of .bip files
	print MFlow.scripts
 
MMixer = biped_ctrl.mixer -- get Motion Mixer
if MMixer.numTransClips > 0 do
	for i = 1 to MMixer.numTransClips do
		print (getclip MMixer i)

my recent MAXScripts RSS (archive here)

Comment viewing options

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