So what we can do here, is add another stdout handler that catches on that specific DLL failing to load and implement a method that will warn the user about it (in the logs). Which is essentially just “V-Ray says it had an error”. Is being caught by the following stdout handler self.AddStdoutHandlerCallback( ".*error.*" ).HandleCallback = self.handleStdoutError In this case, the message:Įrror: Error loading plugin library “C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp\extension\vrayappsdk\bin\plugins\vray_BRDFSimbiont.dll”: LoadLibrary failed (126): The specified module could not be found. Our plugins detect errors using regexs and we usually have 1 or 2 generic catch-alls for when the renderer spits out errors. We do actually have a mechanism that can help you here, but it requires modifying the existing plugin.
0 Comments
Leave a Reply. |