Created
December 6, 2015 17:18
-
-
Save AndrewHazelden/241361b0afd002db394b to your computer and use it in GitHub Desktop.
Use Maxwell Render's PyMaxwell tool to scan a folder for .mxs scene files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pymaxwell import * | |
from math import * | |
import os | |
import sys | |
import datetime | |
mxsFileExt = 'mxs' | |
mxsDirPath = '/Applications/Maxwell 3/scripts/stereo/' | |
mxsFileList = getFilesFromPath(mxsDirPath, mxsFileExt) | |
for file in mxsFileList: | |
mxsFilePath = mxsDirPath + file | |
print '[File] ' + mxsFilePath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment