mwel check MWorks build date

mhisted's Avatar


25 Oct, 2019 07:32 PM

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?


  1. Support Staff 1 Posted by Christopher Sta... on 25 Oct, 2019 08:31 PM

    Christopher Stawarz's Avatar

    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.


  2. 2 Posted by mhisted on 27 Oct, 2019 07:31 PM

    mhisted's Avatar

    This works - thanks! Mark

  3. Christopher Stawarz closed this discussion on 28 Oct, 2019 01:26 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac