Skip to content

Querying the FPS preference in Maya

This tickles the funny bone.

>>> import maya.mel as mel
>>> fps = mel.eval('float $fps = `currentTimeUnitToFPS`')
>>> print(fps)
24.0

Let me know in the comments below if this can be improved...

Comments