Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Admin
    • Login

    Bake Object parameters

    Scheduled Pinned Locked Moved PYTHON Development
    7 Posts 0 Posters 517 Views
    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.
    • H Offline
      Helper
      last edited by

      On 27/01/2016 at 15:29, xxxxxxxx wrote:

      Hi - I'm looking for a way to set the parameters for baking an object and then bake the object.  I'm assuming there is something similar to the SendModelingCommand with a populated BaseContainer but I'm having trouble finding anything related to this.

      Can someone point me in the right direction in the documenation?

      Thanks in Advance,
      .del

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 28/01/2016 at 04:16, xxxxxxxx wrote:

        Hi .del,

        unfortunately it is not possible. Neither to configure, nor to use the Bake Object without dialog. Sorry.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 28/01/2016 at 05:55, xxxxxxxx wrote:

          I don't care if I see the dialog box.  Is it possible to script it?

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 28/01/2016 at 06:06, xxxxxxxx wrote:

            Well, you can use c4d.CallCommand(450000051) to open the Bake Object dialog, but that's basically it. You can't preset values, nor control that dialog in any way, as you see, there's not even a define for the ID.

            By the way, you can easily find such things (most of the time), using the Script Log from Script menu.

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              On 28/01/2016 at 06:10, xxxxxxxx wrote:

              I use the script log all the time and when I can't find any useful info there I come on here hoping to find more information.  Unfortunately I often feel like it leads to a dead end.  While C4D supports python I find that I get three quarters of the way through a project only to find that "that part of C4D isn't accessible via Python".

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                On 28/01/2016 at 06:58, xxxxxxxx wrote:

                We are aware about some shortcomings of our Python integration. It is constantly being worked on and every release and service pack will provide some progress.
                But in this case, it's even worse, because you can't use that functionality from the C++ SDK either. Not sure though, that makes you any happier.
                We are trying to improve on these topics as well, but it takes time and is a lot of work. And before you ask, I have no idea, when Bake Object might be reworked in this regard. But the request is added to our internal pool.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  On 28/01/2016 at 07:05, xxxxxxxx wrote:

                  I know its a lot to work on and I appreciate that Python integration even exists.  I'm just frustrated that I run into these road blocks.  If anything good has come out of this it's that I'm going to start checking the SDK before embarking on a project to be sure that major components of my script will be supported.

                  Maybe I can figure out how to use Bake Texture instead.

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