View Single Post
# 3 08-05-2012 , 02:08 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
Easy enough to write one.

Code:
global proc batchOBJExport(string $exportPath)
{
    string $sel[] = `ls -sl`;
    
    for ($obj in $sel)
    {
        select $obj;
        file -force -options "groups=1;ptgroups=1;materials=1;smoothing=1;normals=1" -typ "OBJexport" -pr -es ($exportPath + "/" + $obj + ".obj");
    }
}
Example run: batchOBJExport("/Users/gman/desktop/objs")


Imagination is more important than knowledge.