jbacigal Posted March 17, 2005 Share Posted March 17, 2005 I'm writing a script that loads VRay's .VRSCENE file into a max scene. I keep getting these cryptic system exceptions that supply little to no additional information when I call getCurrentException()...Could someone shed some light on this for me? What is usually the root of these system exceptions? Perhaps reading past the end of a memory stream? Perhaps using too much memory? I'm just having trouble seeing what the problem is...any help would be greatly appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
abicalho Posted April 4, 2005 Share Posted April 4, 2005 getCurrentException only works when it's a runtime error or when the error is known. A System Exception means usually that the system has crashed, but since MAXScript is wrapping the crash, you didn't have a fatal error. The only way to know what's causing the problem is by running each of the lines of the code until you hit the crash. Then evaluate that line manually to see if you get the same problem. If you're using vray and setting parameters in vray objects, and that's when you get the crash, then you should report the problem to the vray developers. Hope it helps, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now