The examples Maxon has in GitHub include "Py-TextureBaker", which seems to use threads. I'm currently going through that code (and trying to understand it...), because I'm facing the exact same challenge as OP: how to start something in a thread, and make that thread send messages to other plugins.
H
Best posts made by heilei
-
RE: Best plugin type for background (thread) processing?
-
Bitmaps module missing from Auto Completion Dummy Package
It seems that module c4d.bitmaps is missing from the auto completion package initialization:
/Applications/Maxon Cinema 4D R25/resource/modules/python/libs/python39/c4d/_ _ init _ _.py :
...
from c4d import documents
from c4d import gui
from c4d import modules
from c4d import plugins
from c4d import storage
from c4d import threading
from c4d import utilsAll the other classes/modules are imported, except bitmaps. Is this intentional or a bug?