On 26/06/2013 at 12:10, xxxxxxxx wrote:
For my preview window, I can EditorRender to to a view using
bd = doc.GetActiveBaseDraw()
c4d.StartEditorRender(active_only=False, raybrush=False,
x1=0, y1=0, x2=dx2, y2=dy2,
bt=None, bd=bd, newthread=True)
But I like more control over this window. E.g. add my own menu and buttons.
However:
- when using a 'New View Panel', I cannot set my own menu or buttons (I think)
- when using a dialog with a UserArea I cannot Editor Render to it, because I do not have the bd** ([BaseDraw](file:///D:/pgrooff/Documents/pim/c4d/Python%20Help%20R14/help/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseView/BaseDraw/index.html#c4d.BaseDraw)) of my dialog / User Area.
I do like the EditorRender, because I can see the progress of the rendering.
That is better than to use RenderDocument, wait for the output and show the result in my preview window.
Pim