I’m currently working on a script, that at one point, needs to wait for a specific obj to be placed in a specific folder (by another program in this case) in order to import it in the scene and continue with the script.
I’m not sure even where to begin, I’d guess it has something to do with the “if” expression, but I’m kind of a newbie in scripting and I’ve not been able to figure out how to use the “if” expression in this situation, so any help is greatly appreciated! I’ll keep trying anyway!
Some other thoughts:
I’m also not very sure, if this will cause performance issues, since it may take even 60 seconds for the obj to appear in the folder, so I probably don’t want 3ds Max to look for the obj like crazy and instead have it look for the obj in 1 second intervals or something.
Delaying the script with “sleep” is not an option either, since the process outside 3ds Max can take from 2 seconds to even 2 minutes to place the obj in the folder.
So yeah, thanks in advance!