On 05/12/2016 at 13:37, xxxxxxxx wrote:
Hi, I'm looking for a way to execute functions on the main thread from a different thread. I have found c4d.SpecialEventAdd, but it seems very limited. To pass custom parameters, it only allows for p1 and p2, which are both integers. How can I pass a string? Also, how do I get these parameters in the main thread?When I use MessageData.CoreMessage to handle the event, the bc parameter contains c4d.DA_VOID values which are PyCObjects. What am I supposed to do with these?
Any help is appreciated.