Save a model?

Is there a way to save a model to disk similar to this?

mdl = loader.loadModel(modelName)
mdl.doSomething()
status = saver.saveModel(modelName)
NodePath.writeBamFile( filename )

enn0x

Awesome, Thanks Man!

Paul

Beware that bam files are not warranted to be upward compatible.
ex bam file generated from a panda 1.2 versions are not likely to be usable with version 1.4…

Howewer bam format is binary and very optimized in term of loading speed and file size.

As always it’s a tradeOff.

But keep your source model in .egg format somewhere just in case…