On 7/10/2019 3:44 PM, Mike Horvath wrote:
> Normally POV-Ray quits with an error if it tries to load an include file
> but it is missing. Is there a way to spawn a warning when this happens,
> and continue with the render? I am trying to track whether this happens
> within a project I am working on, and can't think of a better method.
I found this in the docs.
Attempts to open the file specified by the string S. The current
directory and all library directories specified by the Library_Path
or +L options are also searched. See Library Paths for details.
Returns 1 if successful and 0 if unsuccessful.
But it only works if you know the name of the file beforehand. I am
testing other people's code and there are about 1000 files to check...
Post a reply to this message