I’m trying to export the scene to vrscene format but the file never saves.
This is the command that Im using: vrayExportVRScene "c:\\max\\temp.vrscene" startFrame:0 endFrame:32
And I cant debug it since there is no error, its just the file not being saved.
This happens when I run 3dsmax from command line like this: 3dsmax.exe -q -silent -mip -mxs "script code goes here"
But if I run the vrayExportVRScene in normal 3dsmax it exports fine.
Does anyone have some idea, or how to get a more detailed log on why vrscene is not written to disk.
It could be a syntax error, for example not escaping the quotes around the output path in the command. Something like this should work: 3dsmax.exe -q -silent -mip -mxs "vrayExportVRScene \"c:\\max\\temp.vrscene\" startFrame:0 endFrame:32" c:\max\temp.max
The V-Ray log should be in %TEMP%\vraylog.txt. If it doesn’t contain anything related to the scene export, there’s probably a syntax error in the command.
Can you post the entire command if this doesn’t help?
Thanks for reply I solved the issue but I didn’t figure out why it happened, It turned out that the error is because of Deadline Slave, I was using deadline to call the command, updating deadline to last version fixed it.
The vrayExportVRScene was run from another script so I guess the quotes were not the problem