On 12/02/2018 at 02:50, xxxxxxxx wrote:
Hi,
i have developed a file manager tool in PySide that performs some c4d actions like create a new empty scene.
When i click i call kill document, but the viewport and the object manager doesnt update until i close my PySide dialog.
So reading the docs, i decided to call c4d.EventAdd(c4d.EVENT_FORCEREDRAW) to see if that solves the problem... turns out it doesnt.
I understand my approach is not very orthodox since PySide is not supported natively in Cinema4d but for the moment this is the way i want to go but i presume this shouldnt make any difference to the problem posted.
so how do i force cinema 4d to update?