Bake Object parameters

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,

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.

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?

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.

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".

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.

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.