Snarlygribbly opened this issue on Aug 10, 2012 ยท 3 posts
PhilC posted Fri, 10 August 2012 at 6:11 AM
'name' should be the full path to where you want the material saved to.
I think you'll find that it will save a PNG file along with it. At least it did for me.
import poser
import os
poserDir = os.path.split(poser.AppLocation())[0]
matFilePath = os.path.join(poserDir,"test.mt5")
poser.Scene().CurrentMaterial().SaveMaterialSet(matFilePath)