Skip to content

Instantly share code, notes, and snippets.

@AndrewHazelden
Created December 6, 2015 17:18
Show Gist options
  • Save AndrewHazelden/241361b0afd002db394b to your computer and use it in GitHub Desktop.
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
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