displaying messages, opening dialogs etc.). Change parameters of elements attached to the scene (allowed, but not recommended except for tags and objects following below rule (EXECUTIONPRIORITY_EXPRESSION), see Forbidden Actions).Change the structure of objects attached to the scene. Only the main thread is allowed to modify the currently active document and to perform the following operations: executed from the Script Manager) are executed from the main thread (but not Python plugins). The code of the following plugin classes is always executed from the main thread: It can spawn other threads like the rendering or viewport drawing thread. The main thread handles the Cinema 4D GUI, user interaction and the currently active BaseDocument. All parts of the execution and drawing pipeline of Cinema 4D are threaded. Depending on this thread context certain operations are not allowed. Plugin code may be executed from the main thread or from some other thread. This way Cinema 4D can utilize multiple cores and can avoid that a single task blocks the application. Cinema 4D performs multiple tasks in different threads.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |