Hi!
Cinema 4d 2023.2 Redshift 3.5.20
Problem with a python script. This script is organized as follows: it turns object visibility on and off and starts rendering. And it renders as many images as I set it to render.
The script runs only when Picture Viewer is running. You can render one picture and leave it open
In addition, it produces a .json file.
There are two txt files: x - file with exceptions. These combinations cannot be used
It looks like:
gl_21 mask_7
gl_21 jw_27
gl_21 jw_24
gl_21 jw_9
File x2 - here the number of objects is specified.
glasses NULL 4
glasses gl_21 3
glasses gl_20 5
glasses gl_18 3
When you run the script, you need to specify these files
The problem is as follows. If the x2 file is empty or with one line, the script renders images and .json files
If there is more than one line in the x2 file, one picture is rendered and the program just hangs. And does not produce json. It does not have time to write anything in the log. The line is loaded a little bit and everything hangs (attached picture)
I could not find the error, debugger says that there are no errors
What could be the problem?
The problem is that at the stage of creating a json file everything hangs up with an x2 file that is more than one line full.. Nothing can be written to the Console Log. It hangs before
project_redshift.py