On 28/05/2014 at 16:51, xxxxxxxx wrote:
as the title already says I have an ObjectData and I want it working after GENERATOR 0. Im not sure how to use AddToExecution(), Execute() and OBJECT_CALL_ADDEXECUTION and if its the right way at all.
How can I set the Priority?
On 29/05/2014 at 04:35, xxxxxxxx wrote:
Have slept on it for a night and now it works after restart.
def AddToExecution(self, op, list) :
list.Add(op, c4d.EXECUTIONPRIORITY_GENERATOR, 1)
def Execute(self, op, doc, bt, priority, flags) :
info=c4d.OBJECT_POLYGONOBJECT | c4d.OBJECT_CALL_ADDEXECUTION,
Anyway! Now Ive to look for an answer to question how to call GetVirtualObjects() from Execute() or can I return the PolygonObject from Execute()?