On 02/07/2015 at 04:09, xxxxxxxx wrote:
Hi c4d Community
i'm trying to learn the Basics of python Plugin development, and i'm stuck with a little Problem.
I wrote a script, which sets Keys on a Plugin-Object and then changes the Active Camera in the Object Manager acordingly to the Keyvalues. This works fine in the Viewport, but when I render nothing changes.
The "key to camera comparison" functions are called in the Draw function like this:
def Draw(self, op, drawpass, bd, bh) :
if drawpass == c4d.DRAWPASS_OBJECT:
Do I have to "set" something in General or in my functions to say that the Render is the Same than the Viewport? c4d.EventAdd() and c4d.CallCommand(12147) seem to make no difference as well...
Sorry for this "noobish" question