Website Youtube GitHub

Mel through Synoptic


#1

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!


#2

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;')