Hi Chris,
I’d like to add an assert() to some of our MWorks files ensuring they’re only run on a given build date of mworks, or later. Is there any way to do this now? If not, can you add to todo?
thanks!
Mark
Hi Chris,
I’d like to add an assert() to some of our MWorks files ensuring they’re only run on a given build date of mworks, or later. Is there any way to do this now? If not, can you add to todo?
thanks!
Mark
Hi Mark,
There isn’t a built-in way to do it. However, you could do it with a Python script, loaded as a Python file resource. See the attached example.
I also could add a built-in method, if you’d prefer that.
Cheers,
Chris
Attachment: check_mworks_version.zip (1.47 KB)
This works - thanks! Mark