Python CPU-Multi-Core Execution

Python CPU-Multi-Core Execution

Anonymous
Not applicable
573 Views
1 Reply
Message 1 of 2

Python CPU-Multi-Core Execution

Anonymous
Not applicable
  1. Is it possible to use multiple cores on the CPU when executing Python scripts in VRED? I tried using Python's multiprocessing and joblib but without any luck. With Python's threading I was able to spawn multiple threads, but couldn't utilize multiple cores.
  2. Further, if this is possible, can I also call VRED Python API functions from these processes? (like adding/deleting nodes in the scene, etc.)

 

Thanks for your support!

0 Likes
574 Views
1 Reply
Reply (1)
Message 2 of 2

marcus_fritzen
Autodesk
Autodesk

Regarding 2: No, the VRED Python API is not thread-safe.

Cheers,

Marcus



Marcus Fritzen
Principal Engineer
0 Likes