Import/Export Batch

Import/Export Batch

Anonymous
Not applicable
854 Views
1 Reply
Message 1 of 2

Import/Export Batch

Anonymous
Not applicable
I am wondering if anyone has written or knows of a tool to allow a user to import multiple *.obj or *.stl etc files into maya.
Clicking “file import” three times for three imports into the scene is fine but more than ten?
0 Likes
855 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
If you open the Script Editor and then do a File -> Import and look at the output - this is MEL script that you can generalise and then create your own new scripts.
It outputs something like this:
pv_performAction "C:/export.obj" "Best Guess";
file -import -type "OBJ" -ra true -namespace "export" -pr -loadReferenceDepth "all" "C:/export.obj";


Now just loop through your files and use the code above.
0 Likes