Notifications
Clear all

[Closed] How to know if a "max" command is working?

I mean…i want to know, for example, if max pancamera is active, and if it is change the value of a variable.

Somebody?

Cheers!

6 Replies

Noone know the answer?

I mean to know if, for example, the command “max pancamera” is active, or if there is another command active.

Help?

 JHN

I’m pretty certain a <max … > command cannot be monitored. You should be looking for other ways to get what you want, like callbacks etc. Anything specific you’re looking for?

-Johan

Well, right now i’m processing a render when i pan the camera or when i orbit it, and the proccess take a bit of time, so when the process ends the pan tool or the orbit tool get stucked, so if i move the mouse without pressing any button i orbit or pan the camera…it’s a mess.

I only can think in two solutions, one is to release the render to a background alternative proccess, but i think i cannot do that without launching another max instance, and even with that if i don’t save the render i cannot read it from my original max, and the other is to monitor these commands, so i think my problem has no solution

Some ideas?

Cheers and thank for the answer

 JHN

So it’s sticking the to the pan tool when the process ends if I understand it right. What happens if you switch to another tool like move or rotate, does the panning stop? Or switch to the modify panel or something… if that works then you could just switch some some arbitrary tool when the process has finished… other then that, I’m pretty clueless…

-Johan

I tried to do a “max select” command when the render finishes, but the view is reseted to it’s previous position, it’s like canceling the movement

 JHN

And what if you mimic the pan tool option with a custom tool script that pans the camera/viewport, then you would have control over when it stops…

-Johan