0

I want blender to execute the part of my code, then wait for about 30 sec and execute the rest code. Is it possible? I want something like setTimeout in js if not, then how do I execute one script, and then another one by one via bash or python script?

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125
cxnt
  • 397
  • 1
  • 5
  • 27
  • If you simply want to run script one a after another it's better to use the CLI with multiple -P or --python parameters. Using a timer for the purpose of executing multiple scripts would be a bad code design, because you don't want to trigger the execution of the next script before the previous has finished. – Robert Gützkow Jul 26 '19 at 09:41
  • That being said, Blender has modal operators and timers however this wouldn't be the right use case. If I understood your question right. – Robert Gützkow Jul 26 '19 at 09:42
  • @rjb but if I use -P do scripts launch all at once or in load order of -P? – cxnt Jul 26 '19 at 09:48
  • In order, as far as I'm aware. – Robert Gützkow Jul 26 '19 at 10:29

0 Answers0