mouseTrack() thru PyMXS?


Does anyone have any experience using mouseTrack() through Pymxs? I’ve run into a problem with it. Is there a way to get this maxscript function to call a python function in my script?

In the mouseTrack() documentation, which is in MaxScript, you’ll notice it has an argument called ‘trackCallback’, which is supposed to be a reference for another function that you create for mouseTrack() to call when its operating. But it’s expecting a Maxscript function, of course. You can’t directly pass it a Python function.

Anyone know a way around this? Thanks in advanced.