Here is a example of how you can pass python variables to mel ones, took me a while to find this.
import maya.mel as mel
charRenderDir = "depts/rig/Beau/Character_Builds/ROM_Renders/" + curChar +
"/"
mel.eval('string $dir = python("charRenderDir");' 'setProject $dir')
Cheers,
Beau
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---
