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…