Open Game Exporter Using A Python Command

Open Game Exporter Using A Python Command

Anonymous
Not applicable
1,911 Views
2 Replies
Message 1 of 3

Open Game Exporter Using A Python Command

Anonymous
Not applicable

Does anyone know how to open the game exporter using a python command? Or maybe know how to execute a mel script using python.

0 Likes
Accepted solutions (1)
1,912 Views
2 Replies
Replies (2)
Message 2 of 3

cheng_xi_li
Autodesk Support
Autodesk Support
Accepted solution

Hi,

 

You could use mel.eval to execute MEL commands in Python.e.g.

 

import maya.mel as mel

mel.eval('print "hello world";')

Yours,

Li

Message 3 of 3

Anonymous
Not applicable

That's awesome! Thank you!

0 Likes