This tickles the funny bone.
>>> import maya.mel as mel
>>> fps = mel.eval('float $fps = `currentTimeUnitToFPS`')
>>> print(fps)
24.0Let me know in the comments below if this can be improved…
This tickles the funny bone.
>>> import maya.mel as mel
>>> fps = mel.eval('float $fps = `currentTimeUnitToFPS`')
>>> print(fps)
24.0Let me know in the comments below if this can be improved…