On 04/09/2015 at 11:16, xxxxxxxx wrote:
Hello.
Im trying to start the baking of a texture using python.
But i cant seems to get it working correcty.
Does anyone know how i can start the bakeing prosess ?
Here is a sniped of my code.
...
...
...
if object != None:
# only do it for polygon objects.
if object.GetType() == 5100:
tags = object.GetTags()
for tag in tags:
# Check if its a bake textuure tag and start the bake..
if tag.GetType() == 5616:
c4d.CallButton(tag, c4d.BAKETEXTURE_BAKE)
What do i need to do??