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

    Render Settings change Save state

    Cinema 4D SDK
    python s22
    2
    8
    942
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chuanzhenC
      chuanzhen
      last edited by chuanzhen

      Hi,
      Use RenderData how to change "Save" state!
      Thanks for any help!

      pic1
      未标题-2.png

      相信我,可以的!

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @chuanzhen
        last edited by

        Hello @chuanzhen,

        Thank you for reaching out to us. We are currently under release workload, so here is a short answer. That parameter is set in the following way:

        MyRenderSetting[c4d.RDATA_SAVEIMAGE] = True
        

        There is also the thread Access renderer specific settings with python where we went over some details of the render settings.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        chuanzhenC 1 Reply Last reply Reply Quote 0
        • chuanzhenC
          chuanzhen @ferdinand
          last edited by

          @ferdinand Thanks,MyRenderSetting[c4d.RDATA_SAVEIMAGE] = True I use this method in my code, it can achieve the purpose of not save image, but I am wondering if I can access the state of the Save element in pic1, so that when I activate my renderSetting, I do not click Go in and check the status of [c4d.RDATA_SAVEIMAGE], you can also directly know whether it is a saved state or an unsaved state during the current rendersetting

          相信我,可以的!

          1 Reply Last reply Reply Quote 0
          • chuanzhenC
            chuanzhen
            last edited by

            xxxxxxxx.png

            pic 2 : Close Save, the regluar image Save must be not save

            pic 3:Open Save, the regluar image Save save or not save depends on itself

            相信我,可以的!

            ferdinandF 1 Reply Last reply Reply Quote 0
            • ferdinandF
              ferdinand @chuanzhen
              last edited by

              Hey @chuanzhen,

              I have not overlooked your addition here, but I was a bit busy, will be the next thing on my desk tomorrow.

              Cheers,
              Ferdinand

              MAXON SDK Specialist
              developers.maxon.net

              chuanzhenC 1 Reply Last reply Reply Quote 0
              • chuanzhenC
                chuanzhen @ferdinand
                last edited by

                @ferdinand Thanks

                相信我,可以的!

                ferdinandF 1 Reply Last reply Reply Quote 0
                • ferdinandF
                  ferdinand @chuanzhen
                  last edited by ferdinand

                  Hello @chuanzhen,

                  thank you for your patience. The relevant symbol is RDATA_GLOBALSAVE, i.e., toggling this boolean will check or uncheck the checkbox before the Save item in the video post list on the left in the Render Settings.

                  As a general hint, you can find all c4d.documents.RenderData symbols which are not part of a separate video post plugin in our Python SDK documentation. I just went there and highlighted all instances of the word 'save' and then looked for a Boolean with a promising description. But this is just a special case, usually you are faster with the drag and drop approach described in the posting I have linked in my first answer here.

                  Cheers,
                  Ferdinand

                  MAXON SDK Specialist
                  developers.maxon.net

                  chuanzhenC 1 Reply Last reply Reply Quote 0
                  • chuanzhenC
                    chuanzhen @ferdinand
                    last edited by chuanzhen

                    @ferdinand Thanks you for your help!

                    相信我,可以的!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post