I'm following this tutorial:
http://www.youtube.com/watch?v=NvXEX1acl4I
The problem lies in the part where you export the base (4:58-5:09). I have sanity checks unchecked, but when I tell it to export geom only, a MAXScript Rollout Handler Exception comes up saying "--Runtime error: Filestream cannot create: C:\Program Files\Autodesk\3ds Max 2012\scripts\nwmax\sanity\plot_sanitycheck.txt"
This also comes up in a different wndow:
Code:
mdlextn = "mdl.ascii"
else
mdlextn = "mdl"
model_name = node.name
-- we need to make sure that the model_name has no tabs in it
-- as it will break things. The rule will be tabs will be changed to '_'
if (matchPattern node.name pattern:"* ") then
(
messageBox "Model name contains a tab. ERROR!! Processing Halted."
return -1
)
if not g_ismax then format "<snoopstart file=%%.%>%" export_path model_name mdlextn g_delim to:g_strBuffer
-- we can now do some sanity checks and record the results for review
if not g_ismax then (
format "<snoopstart file=%%_sanitycheck.txt>%" (scriptsPath+"nwmax/sanity/") model_name g_delim to:g_strBuffer
) else (
g_strBuffer = createFile (scriptsPath+"nwmax/sanity/" + model_name + "_sanitycheck.txt")
) -- end ismax
if chk_check.checked then
bSanityCheck = SanityCheck node
else
bSanityCheck = 1
Anyone know what's going on? There shouldn't be a sanity check needed, correct?