The exporter fully supports unassisted exports via 3ds Max's MAXScript language.
The following example shows how to load a file and export it to a .X file using MAXScript.
fn makeXFile maxFile =
(
baseName = getFilenameFile maxFile
xPath = getFilenamePath maxFile
xFile = xPath + baseName + ".x"
makeDir xPath
loadMaxFile maxFile quiet:true
exportFile xFile #noPrompt selectedOnly:false
return xFile
)
One could then use the function makeXFile to export data as follows:
// creates the file c:\art\maxfiles\dude.x
makeXFile "c:\art\maxfiles\dude.max"
--------------------------------------
dx blog