Save Material Preset in script

Is there a way to save a Metarial Preset .duf file, of the selected item in the scene, with DAZ Script... No interface, just save with a passed file name?
Or if all else fails... Start the Save As ->Material Presets from DAZ Script?
Post edited by DraagonStorm on
Comments
This says it should do that http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/save_duf_materials/start
Thank you Richard...
Why is it I can never find these things... I google 10 different ways! and no luck.