cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cached playback has no mel output

Cached playback has no mel output

Hey,

the new cached placback toggle button, two right from the fps setting in the lower right corner does not give a mel output in the script editor.

Even if you you check 'Echo all comands'.

For people who script to spped up their workflow that would be very helpful!

Thanks 🙂

3 Comments
kevin.picott
Alumni

The reason for that is that the code in the cached playback toggle button is entirely in Python so there is no Mel to output. It's a larger question for us to consider as to why that is and whether it is the right thing to do or not.

 

For this particular feature though there is a Mel equivalent. These are the two commands to toggle caching off and on (the UI will update automatically to match the new state):

evaluator -n cache -en off;
evaluator -n cache -en on;
tj.galda
Alumni
Status changed to: Future Consideration
 
zapan669
Contributor

I believe making pure Python things is not the logic of Maya.


Or you decide to go 100% Python and print each commands in the Script Editor.
But I would fear some **** mix between MEL and Python.


When I think about it, 10 years ago MEL was way Faster than CMDS,  is it still the case ?

If so, then everything in MEL is still a good logic,  I think

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea