Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. eegoridze
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    eegoridze

    @eegoridze

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    eegoridze Unfollow Follow

    Latest posts made by eegoridze

    • Python generation script doesn't work

      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.
      a7cae144-457f-4a3b-b890-48cd8643d75b-image.png
      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)
      f7167baa-0acb-4124-84f7-eeb9ffbfd10d-image.png

      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

      posted in Cinema 4D SDK python windows 2024
      E
      eegoridze