just wondering if any of the more technical maya users, know if there is a way to pass on a variable from your python script to a function your accessing through the maya.mel.eval() method. haveing a problem with the "attributExists" mel function not being available in python, so im trying to get it doing something like.…
ya i looked up the mel code for that function, and will write myself a py version tomorrow morning when i get back to this. im actully haveing a similar problem again, with FBXExport, there seems to be no python way expect mel.eval to get to it, and it's is supplied by a mll modual not a mel file so i cant just re-write…
an NVM i figured out i have to treat everything after mel.eval( as 1 big string, not like arguments so all i had to do was drop in a ' before the item variable and add the variable to the string. import maya.cmds as cmdsimport maya.mel as melmel.eval('attributeExists "Tag"' + item): thanks anyways just me having a slow day…