Website Youtube GitHub

mGear Framework Forum

Mel through Synoptic

Hi all,

I was wondering if it is possible to execute mel commands through Synoptic buttons. Are there certain settings for this in qt Designer?

Thanks in advance!

Are you able to run Python in your Synoptic buttons? You can wrap MEL commands in maya.mel.eval

import maya.mel as mel
mel.eval('ls -sl;')
1 Like